Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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.00144/0.00144, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001522/0.001522, allocations: 163.8 kB / 25.32 MB, free: 9.457 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 0.9883/0.9883, allocations: 158.6 MB / 187.2 MB, free: 2.508 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_YD,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",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,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",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.787e-06/3.787e-06, allocations: 4 kB / 251.1 MB, free: 3.566 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/3.003e-05, allocations: 5.406 kB / 251.1 MB, free: 3.562 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.009878/0.009908, allocations: 9.724 MB / 260.8 MB, free: 9.793 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006219/0.01613, allocations: 3.097 MB / 263.9 MB, free: 6.684 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001582/0.01771, allocations: 59.56 kB / 263.9 MB, free: 6.625 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001886/0.0196, allocations: 0.6717 MB / 264.6 MB, free: 5.949 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002848/0.02244, allocations: 0.8848 MB / 265.5 MB, free: 5.059 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008985/0.02334, allocations: 395.4 kB / 265.9 MB, free: 4.672 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003533/0.02687, allocations: 3.209 MB / 269.1 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001679/0.02855, allocations: 1.265 MB / 270.4 MB, free: 124 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003164/0.03172, allocations: 2.058 MB / 272.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00262/0.03434, allocations: 1.621 MB / 274 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001132/0.03547, allocations: 364 kB / 274.4 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000981/0.03645, allocations: 451.8 kB / 274.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007871/0.03724, allocations: 1.052 MB / 275.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001479/0.03872, allocations: 1.119 MB / 277 MB, free: 9.461 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002625/0.04134, allocations: 2.64 MB / 279.7 MB, free: 6.812 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.04135, allocations: 0 / 279.7 MB, free: 6.812 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.04135, allocations: 0 / 279.7 MB, free: 6.812 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.582e-05/0.04139, allocations: 0 / 279.7 MB, free: 6.812 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.004329/0.04572, allocations: 3.396 MB / 283 MB, free: 3.363 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.085e-05/0.04579, allocations: 15.98 kB / 283.1 MB, free: 3.348 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009179/0.04671, allocations: 0.5107 MB / 283.6 MB, free: 2.836 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001927/0.04864, allocations: 1.477 MB / 285 MB, free: 1.316 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.04875, allocations: 172.9 kB / 285.2 MB, free: 1.145 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002405/0.04899, allocations: 232.3 kB / 285.4 MB, free: 0.918 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002727/0.05172, allocations: 1.934 MB / 287.4 MB, free: 14.84 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.086e-05/0.05177, allocations: 11.95 kB / 287.4 MB, free: 14.83 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.05191, allocations: 95.98 kB / 287.5 MB, free: 14.74 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/0.05201, allocations: 104.4 kB / 287.6 MB, free: 14.63 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/0.05369, allocations: 0.869 MB / 288.5 MB, free: 13.74 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00944/0.06313, allocations: 8.14 MB / 296.6 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.06428, allocations: 0.834 MB / 297.4 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008413/0.06513, allocations: 0.5335 MB / 298 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002309/0.06536, allocations: 60.91 kB / 298 MB, free: 3.895 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/0.0654, allocations: 54.38 kB / 298.1 MB, free: 3.832 MB / 282.7 MB Notification: Performance of pre-optimization done (n=126): time 3.617e-06/0.0654, allocations: 0 / 298.1 MB, free: 3.832 MB / 282.7 MB Notification: Performance of matching and sorting (n=142): time 0.1536/0.219, allocations: 4.201 MB / 302.3 MB, free: 43.62 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.2191, allocations: 67.36 kB / 302.3 MB, free: 43.56 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0022/0.2213, allocations: 1.364 MB / 303.7 MB, free: 43.33 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002902/0.2215, allocations: 47.89 kB / 303.8 MB, free: 43.3 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007083/0.2223, allocations: 1.209 MB / 305 MB, free: 43.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004182/0.2227, allocations: 0.5108 MB / 305.5 MB, free: 42.95 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004535/0.2231, allocations: 306.5 kB / 305.8 MB, free: 42.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.514e-05/0.2232, allocations: 478.8 kB / 306.2 MB, free: 42.44 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006265/0.2238, allocations: 269.3 kB / 306.5 MB, free: 42.43 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008131/0.2246, allocations: 0.7633 MB / 307.3 MB, free: 41.87 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/0.2261, allocations: 1.148 MB / 308.4 MB, free: 41.3 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.616e-05/0.2261, allocations: 2.562 kB / 308.4 MB, free: 41.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003309/0.2294, allocations: 1.543 MB / 310 MB, free: 41.07 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/0.2295, allocations: 14.69 kB / 310 MB, free: 41.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/0.2295, allocations: 13.38 kB / 310 MB, free: 41.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001413/0.2309, allocations: 475.9 kB / 310.5 MB, free: 41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007711/0.2317, allocations: 307.3 kB / 310.8 MB, free: 41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006254/0.2379, allocations: 7.821 MB / 318.6 MB, free: 35.26 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.2392, allocations: 97.52 kB / 318.7 MB, free: 35.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/0.2393, allocations: 61.11 kB / 318.7 MB, free: 35.25 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[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 (155): * Single equations (assignments): 150 * 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 {(2,12,100.0%), (9,19,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007894/0.2401, allocations: 246.2 kB / 319 MB, free: 35.09 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003606/0.2405, allocations: 228.5 kB / 319.2 MB, free: 35 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002101/0.2426, allocations: 1.372 MB / 320.6 MB, free: 34.62 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.2426, allocations: 15.53 kB / 320.6 MB, free: 34.62 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/0.2426, allocations: 7.156 kB / 320.6 MB, free: 34.62 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.614e-05/0.2426, allocations: 8.469 kB / 320.6 MB, free: 34.62 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004821/0.2474, allocations: 3.495 MB / 324.1 MB, free: 33.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.2474, allocations: 3.375 kB / 324.1 MB, free: 33.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004772/0.2479, allocations: 189.5 kB / 324.3 MB, free: 33.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001253/0.2492, allocations: 0.5256 MB / 324.8 MB, free: 32.92 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/0.2493, allocations: 31.3 kB / 324.8 MB, free: 32.9 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00529/0.2546, allocations: 9.626 MB / 334.5 MB, free: 24.51 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.2546, allocations: 7.406 kB / 334.5 MB, free: 24.51 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002677/0.2572, allocations: 1.887 MB / 336.4 MB, free: 23.7 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005984/0.2578, allocations: 355.9 kB / 336.7 MB, free: 23.51 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.258, allocations: 41.58 kB / 336.7 MB, free: 23.49 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004272/0.2584, allocations: 73.78 kB / 336.8 MB, free: 23.45 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002718/0.2587, allocations: 146.3 kB / 337 MB, free: 23.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.356e-05/0.2587, allocations: 39.84 kB / 337 MB, free: 23.35 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007766/0.2595, allocations: 0.7857 MB / 337.8 MB, free: 22.67 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2595, allocations: 0 / 337.8 MB, free: 22.67 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001416/0.2609, allocations: 0.5566 MB / 338.3 MB, free: 22.11 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 94 * 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%), (9,19,33.3%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003171/0.2612, allocations: 193.4 kB / 338.5 MB, free: 21.93 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002153/0.2634, allocations: 1.807 MB / 340.3 MB, free: 20.1 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.2634, allocations: 3.984 kB / 340.3 MB, free: 20.1 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0013/0.2647, allocations: 1.548 MB / 341.9 MB, free: 18.5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.266, allocations: 482.2 kB / 342.4 MB, free: 18.05 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005447/0.2714, allocations: 4.298 MB / 346.7 MB, free: 13.69 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005201/0.2719, allocations: 0.6752 MB / 347.3 MB, free: 12.98 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006907/0.2726, allocations: 314.2 kB / 347.6 MB, free: 12.67 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002283/0.2728, allocations: 112.5 kB / 347.7 MB, free: 12.56 MB / 282.7 MB Notification: Performance of SimCode: time 2.645e-06/0.2728, allocations: 0 / 347.7 MB, free: 12.56 MB / 282.7 MB Notification: Performance of Templates: time 0.04226/0.3151, allocations: 32.6 MB / 380.3 MB, free: 11.98 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD_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_YD/AIMC_YD.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.159024480264634]