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.001173/0.001173, allocations: 85.08 kB / 23 MB, free: 1.5 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.001385/0.001385, allocations: 176 kB / 26.39 MB, free: 7.754 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.031/1.031, allocations: 158.6 MB / 188.3 MB, free: 2.82 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 2.665e-06/2.665e-06, allocations: 3.938 kB / 252.3 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.371e-05/3.638e-05, allocations: 10.25 kB / 252.3 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.00952/0.009556, allocations: 9.468 MB / 261.7 MB, free: 13.71 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006042/0.0156, allocations: 3.089 MB / 264.8 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.01664, allocations: 55.62 kB / 264.9 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001348/0.01799, allocations: 0.6716 MB / 265.6 MB, free: 9.883 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001942/0.01993, allocations: 0.9003 MB / 266.5 MB, free: 8.977 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006626/0.02059, allocations: 395.4 kB / 266.8 MB, free: 8.59 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003136/0.02373, allocations: 3.194 MB / 270 MB, free: 5.383 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001487/0.02522, allocations: 1.265 MB / 271.3 MB, free: 4.055 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003772/0.02899, allocations: 2.218 MB / 273.5 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002327/0.03132, allocations: 1.571 MB / 275.1 MB, free: 264 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008331/0.03215, allocations: 352 kB / 275.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008416/0.03299, allocations: 439.8 kB / 275.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007374/0.03373, allocations: 1.017 MB / 276.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00152/0.03525, allocations: 1.095 MB / 278 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003113/0.03836, allocations: 2.593 MB / 280.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.03837, allocations: 4 kB / 280.6 MB, free: 10.76 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.03837, allocations: 4 kB / 280.6 MB, free: 10.76 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.596e-05/0.03845, allocations: 0 / 280.6 MB, free: 10.76 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.004473/0.04292, allocations: 3.239 MB / 283.8 MB, free: 7.465 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.04296, allocations: 11.98 kB / 283.8 MB, free: 7.453 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008128/0.04378, allocations: 0.5185 MB / 284.3 MB, free: 6.934 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001835/0.04561, allocations: 1.391 MB / 285.7 MB, free: 5.496 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.04573, allocations: 168.9 kB / 285.9 MB, free: 5.328 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002642/0.04599, allocations: 232.3 kB / 286.1 MB, free: 5.102 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002374/0.04836, allocations: 1.788 MB / 287.9 MB, free: 3.176 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.294e-05/0.04842, allocations: 7.984 kB / 287.9 MB, free: 3.168 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/0.04857, allocations: 92 kB / 288 MB, free: 3.078 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.871e-05/0.04866, allocations: 104.4 kB / 288.1 MB, free: 2.973 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.04988, allocations: 0.6681 MB / 288.8 MB, free: 2.266 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008542/0.05842, allocations: 7.936 MB / 296.7 MB, free: 10.05 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008695/0.05929, allocations: 0.7733 MB / 297.5 MB, free: 9.273 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006072/0.0599, allocations: 494.1 kB / 298 MB, free: 8.789 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001461/0.06004, allocations: 44.98 kB / 298 MB, free: 8.746 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.06008, allocations: 50.39 kB / 298.1 MB, free: 8.688 MB / 282.7 MB Notification: Performance of pre-optimization done (n=126): time 3.196e-06/0.06008, allocations: 4 kB / 298.1 MB, free: 8.684 MB / 282.7 MB Notification: Performance of matching and sorting (n=142): time 0.006554/0.06663, allocations: 3.493 MB / 301.6 MB, free: 5.141 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.06667, allocations: 64.72 kB / 301.6 MB, free: 5.062 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.06781, allocations: 1.324 MB / 302.9 MB, free: 3.711 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.373e-05/0.06789, allocations: 49.7 kB / 303 MB, free: 3.656 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006458/0.06853, allocations: 1.216 MB / 304.2 MB, free: 2.43 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002998/0.06883, allocations: 0.5191 MB / 304.7 MB, free: 1.906 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003285/0.06916, allocations: 313 kB / 305 MB, free: 1.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.06927, allocations: 488.7 kB / 305.5 MB, free: 1.109 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003129/0.06959, allocations: 195.8 kB / 305.7 MB, free: 0.918 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009729/0.07056, allocations: 0.7027 MB / 306.4 MB, free: 20 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/0.07203, allocations: 1.034 MB / 307.4 MB, free: 14.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.07204, allocations: 4 kB / 307.4 MB, free: 14.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002974/0.07501, allocations: 1.397 MB / 308.8 MB, free: 13.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.07504, allocations: 16.09 kB / 308.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.656e-05/0.07507, allocations: 11.98 kB / 308.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001555/0.07662, allocations: 455.1 kB / 309.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009189/0.07754, allocations: 271.5 kB / 309.6 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008057/0.0856, allocations: 7.561 MB / 317.1 MB, free: 4.707 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/0.08722, allocations: 59.88 kB / 317.2 MB, free: 4.648 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002131/0.08743, allocations: 47.98 kB / 317.2 MB, free: 4.602 MB / 298.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.00101/0.08844, allocations: 256.2 kB / 317.5 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005595/0.089, allocations: 222.9 kB / 317.7 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00291/0.09191, allocations: 1.243 MB / 319 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.826e-05/0.09193, allocations: 19.98 kB / 319 MB, free: 2.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-05/0.09194, allocations: 4 kB / 319 MB, free: 2.816 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.09196, allocations: 11.98 kB / 319 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007036/0.09899, allocations: 2.865 MB / 321.9 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/0.099, allocations: 4 kB / 321.9 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000736/0.09974, allocations: 171.8 kB / 322 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001845/0.1016, allocations: 0.4939 MB / 322.5 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/0.1017, allocations: 27.98 kB / 322.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007504/0.1092, allocations: 9.267 MB / 331.8 MB, free: 5.402 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.1092, allocations: 7.938 kB / 331.8 MB, free: 5.395 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002467/0.1117, allocations: 1.704 MB / 333.5 MB, free: 3.609 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006004/0.1123, allocations: 310.7 kB / 333.8 MB, free: 3.305 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/0.1124, allocations: 28 kB / 333.9 MB, free: 3.277 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000441/0.1129, allocations: 55.97 kB / 333.9 MB, free: 3.223 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002571/0.1131, allocations: 125 kB / 334 MB, free: 3.102 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.648e-05/0.1132, allocations: 35.92 kB / 334.1 MB, free: 3.066 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009751/0.1142, allocations: 0.7122 MB / 334.8 MB, free: 2.355 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1142, allocations: 0 / 334.8 MB, free: 2.355 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001436/0.1156, allocations: 0.5468 MB / 335.3 MB, free: 1.809 MB / 314.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%), (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.0002832/0.1159, allocations: 194.6 kB / 335.5 MB, free: 1.613 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002006/0.1179, allocations: 1.659 MB / 337.2 MB, free: 15.89 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1179, allocations: 192 / 337.2 MB, free: 15.89 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001277/0.1192, allocations: 1.451 MB / 338.6 MB, free: 14.37 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.1204, allocations: 465.9 kB / 339.1 MB, free: 13.92 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007697/0.1281, allocations: 4.241 MB / 343.3 MB, free: 9.578 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006115/0.1287, allocations: 0.6752 MB / 344 MB, free: 8.875 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006666/0.1294, allocations: 198.4 kB / 344.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000737/0.1301, allocations: 493.9 kB / 344.7 MB, free: 8.191 MB / 330.7 MB Notification: Performance of SimCode: time 1.212e-06/0.1301, allocations: 0 / 344.7 MB, free: 8.191 MB / 330.7 MB Notification: Performance of Templates: time 0.1694/0.2995, allocations: 34.38 MB / 379.1 MB, free: 77.16 MB / 330.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.220029672142118]