Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 84.3 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 167.8 kB / 25.6 MB, free: 8.934 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.085/1.085, allocations: 158.6 MB / 187.5 MB, free: 2.812 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 251.5 MB, free: 7.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.229e-05, allocations: 2.312 kB / 251.5 MB, free: 7.227 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01134/0.01137, allocations: 12.34 MB / 263.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008603/0.01997, allocations: 4.184 MB / 268 MB, free: 6.625 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002566/0.02254, allocations: 83.38 kB / 268.1 MB, free: 6.543 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00329/0.02583, allocations: 0.9702 MB / 269.1 MB, free: 5.566 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004354/0.03018, allocations: 1.292 MB / 270.4 MB, free: 4.266 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.03138, allocations: 0.5227 MB / 270.9 MB, free: 3.742 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004331/0.03571, allocations: 4.846 MB / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002356/0.03807, allocations: 1.963 MB / 277.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004596/0.04267, allocations: 3.36 MB / 281 MB, free: 9.496 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003219/0.04588, allocations: 2.448 MB / 283.5 MB, free: 7.043 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007964/0.04668, allocations: 0.543 MB / 284 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.0478, allocations: 0.6365 MB / 284.7 MB, free: 5.863 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001026/0.04883, allocations: 1.57 MB / 286.2 MB, free: 4.289 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00187/0.0507, allocations: 1.723 MB / 288 MB, free: 2.562 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003847/0.05454, allocations: 4.007 MB / 292 MB, free: 14.54 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.05455, allocations: 0 / 292 MB, free: 14.54 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.05455, allocations: 0 / 292 MB, free: 14.54 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.801e-05/0.05464, allocations: 0 / 292 MB, free: 14.54 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.005618/0.06026, allocations: 4.771 MB / 296.7 MB, free: 9.711 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.0603, allocations: 15.98 kB / 296.8 MB, free: 9.695 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/0.06169, allocations: 0.8181 MB / 297.6 MB, free: 8.875 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002299/0.06399, allocations: 2.001 MB / 299.6 MB, free: 6.832 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.06413, allocations: 267.4 kB / 299.8 MB, free: 6.57 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003385/0.06447, allocations: 356.3 kB / 300.2 MB, free: 6.223 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00327/0.06774, allocations: 2.818 MB / 303 MB, free: 3.262 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.64e-05/0.0678, allocations: 7.953 kB / 303 MB, free: 3.254 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002013/0.068, allocations: 140 kB / 303.2 MB, free: 3.117 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001395/0.06814, allocations: 183.1 kB / 303.3 MB, free: 2.938 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001644/0.06978, allocations: 1.04 MB / 304.4 MB, free: 1.887 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01411/0.08389, allocations: 11.61 MB / 316 MB, free: 5.938 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.08542, allocations: 1.394 MB / 317.4 MB, free: 4.578 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/0.08646, allocations: 0.8534 MB / 318.2 MB, free: 3.727 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001748/0.08663, allocations: 73.8 kB / 318.3 MB, free: 3.652 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.08667, allocations: 55.39 kB / 318.4 MB, free: 3.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 3.296e-06/0.08668, allocations: 4 kB / 318.4 MB, free: 3.586 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.00706/0.09373, allocations: 4.099 MB / 322.5 MB, free: 15.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.09377, allocations: 73.41 kB / 322.5 MB, free: 15.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00157/0.09534, allocations: 1.812 MB / 324.3 MB, free: 13.54 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.305e-05/0.09544, allocations: 61.7 kB / 324.4 MB, free: 13.47 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001212/0.09665, allocations: 1.782 MB / 326.2 MB, free: 11.67 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00042/0.09707, allocations: 0.7941 MB / 327 MB, free: 10.87 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004462/0.09751, allocations: 446.3 kB / 327.4 MB, free: 10.42 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.09762, allocations: 484.7 kB / 327.9 MB, free: 9.945 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003797/0.098, allocations: 284.4 kB / 328.2 MB, free: 9.664 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007037/0.09871, allocations: 0.9534 MB / 329.1 MB, free: 8.453 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.09996, allocations: 1.465 MB / 330.6 MB, free: 6.742 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.09997, allocations: 4 kB / 330.6 MB, free: 6.738 MB / 314.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00243/0.1024, allocations: 1.904 MB / 332.5 MB, free: 4.805 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.1024, allocations: 15.98 kB / 332.5 MB, free: 4.789 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.149e-05/0.1024, allocations: 12 kB / 332.5 MB, free: 4.777 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001618/0.1041, allocations: 0.5922 MB / 333.1 MB, free: 4.168 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.1051, allocations: 0.4914 MB / 333.6 MB, free: 3.676 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005627/0.1107, allocations: 7.538 MB / 341.1 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.1124, allocations: 76.02 kB / 341.2 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/0.1126, allocations: 71.98 kB / 341.3 MB, free: 11.64 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009257/0.1135, allocations: 292 kB / 341.6 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004717/0.114, allocations: 346.2 kB / 341.9 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002307/0.1163, allocations: 1.653 MB / 343.6 MB, free: 9.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.1163, allocations: 23.94 kB / 343.6 MB, free: 9.297 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.1163, allocations: 8 kB / 343.6 MB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.638e-05/0.1163, allocations: 15.95 kB / 343.6 MB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007021/0.1233, allocations: 4.086 MB / 347.7 MB, free: 5.078 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.1233, allocations: 8.031 kB / 347.7 MB, free: 5.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001222/0.1246, allocations: 355.5 kB / 348 MB, free: 4.723 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002254/0.1268, allocations: 0.6403 MB / 348.7 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001637/0.127, allocations: 55.92 kB / 348.7 MB, free: 4.008 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1562/0.2831, allocations: 9.229 MB / 358 MB, free: 86.13 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.2832, allocations: 5.375 kB / 358 MB, free: 86.13 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003803/0.287, allocations: 2.289 MB / 360.3 MB, free: 85.65 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009907/0.2879, allocations: 446.7 kB / 360.7 MB, free: 85.65 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002269/0.2882, allocations: 53.62 kB / 360.8 MB, free: 85.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006344/0.2888, allocations: 83.77 kB / 360.8 MB, free: 85.65 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002845/0.2891, allocations: 178.2 kB / 361 MB, free: 85.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-05/0.2892, allocations: 47.25 kB / 361.1 MB, free: 85.64 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001028/0.2902, allocations: 0.9618 MB / 362 MB, free: 85.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2902, allocations: 0 / 362 MB, free: 85.46 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002338/0.2925, allocations: 0.7853 MB / 362.8 MB, free: 85.46 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,1,100.0%), (3,25,77.8%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004731/0.293, allocations: 236.6 kB / 363 MB, free: 85.37 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00218/0.2952, allocations: 2.027 MB / 365.1 MB, free: 84.74 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.2952, allocations: 3.5 kB / 365.1 MB, free: 84.74 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001313/0.2965, allocations: 1.631 MB / 366.7 MB, free: 83.99 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/0.298, allocations: 0.6567 MB / 367.4 MB, free: 83.94 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006943/0.3049, allocations: 6.403 MB / 373.8 MB, free: 80.21 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007093/0.3056, allocations: 1.018 MB / 374.8 MB, free: 79.63 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007045/0.3063, allocations: 310.3 kB / 375.1 MB, free: 79.4 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001052/0.3074, allocations: 0.6943 MB / 375.8 MB, free: 78.84 MB / 330.7 MB Notification: Performance of SimCode: time 1.132e-06/0.3074, allocations: 0 / 375.8 MB, free: 78.84 MB / 330.7 MB Notification: Performance of Templates: time 0.04882/0.3562, allocations: 42.48 MB / 418.2 MB, free: 37.91 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Transformer/AIMC_Transformer.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.821037171874195]