Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.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.00245/0.00245, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.002847/0.002847, allocations: 166.7 kB / 25.03 MB, free: 8.418 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.393/1.393, allocations: 158.6 MB / 186.8 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] 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_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 250.4 MB, free: 7.914 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.315e-05/3.533e-05, allocations: 2.312 kB / 250.4 MB, free: 7.91 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.0154/0.01544, allocations: 9.305 MB / 259.7 MB, free: 14.57 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008499/0.02394, allocations: 3.328 MB / 263 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002064/0.026, allocations: 51.62 kB / 263.1 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002664/0.02866, allocations: 0.7299 MB / 263.8 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00351/0.03217, allocations: 0.8733 MB / 264.7 MB, free: 9.562 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001575/0.03375, allocations: 463 kB / 265.1 MB, free: 9.109 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004461/0.03821, allocations: 2.509 MB / 267.6 MB, free: 6.59 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002738/0.04095, allocations: 0.9933 MB / 268.6 MB, free: 5.547 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004511/0.04546, allocations: 1.629 MB / 270.3 MB, free: 3.914 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003292/0.04875, allocations: 1.302 MB / 271.6 MB, free: 2.609 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008011/0.04955, allocations: 280 kB / 271.8 MB, free: 2.336 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001713/0.05127, allocations: 411.7 kB / 272.2 MB, free: 1.934 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001139/0.05241, allocations: 0.8491 MB / 273.1 MB, free: 1.082 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001452/0.05386, allocations: 0.8886 MB / 274 MB, free: 196 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005554/0.05941, allocations: 3.801 MB / 277.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.05942, allocations: 0 / 277.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.05942, allocations: 0 / 277.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.38e-05/0.0595, allocations: 0 / 277.8 MB, free: 12.38 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.007322/0.06683, allocations: 3.004 MB / 280.8 MB, free: 9.328 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.06687, allocations: 11.98 kB / 280.8 MB, free: 9.316 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.06804, allocations: 443.2 kB / 281.2 MB, free: 8.883 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003208/0.07125, allocations: 1.219 MB / 282.4 MB, free: 7.625 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/0.07141, allocations: 139.7 kB / 282.6 MB, free: 7.488 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004003/0.07181, allocations: 199.9 kB / 282.8 MB, free: 7.293 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005089/0.0769, allocations: 2.328 MB / 285.1 MB, free: 4.898 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.462e-05/0.07698, allocations: 7.953 kB / 285.1 MB, free: 4.891 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001962/0.07717, allocations: 79.98 kB / 285.2 MB, free: 4.812 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001434/0.07732, allocations: 95.67 kB / 285.3 MB, free: 4.719 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003714/0.08103, allocations: 1.47 MB / 286.7 MB, free: 3.246 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01819/0.09922, allocations: 8.511 MB / 295.3 MB, free: 10.32 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/0.101, allocations: 0.7681 MB / 296 MB, free: 9.539 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001513/0.1025, allocations: 0.6006 MB / 296.6 MB, free: 8.941 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002614/0.1028, allocations: 56.91 kB / 296.7 MB, free: 8.883 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001254/0.104, allocations: 0.6578 MB / 297.3 MB, free: 8.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=99): time 3.757e-06/0.1041, allocations: 0 / 297.3 MB, free: 8.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=121): time 0.01374/0.1178, allocations: 4.61 MB / 301.9 MB, free: 3.484 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001834/0.118, allocations: 204.8 kB / 302.1 MB, free: 3.242 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002712/0.1207, allocations: 1.465 MB / 303.6 MB, free: 1.766 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001613/0.1208, allocations: 45.7 kB / 303.7 MB, free: 1.715 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001287/0.1221, allocations: 1.085 MB / 304.7 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000617/0.1228, allocations: 476.2 kB / 305.2 MB, free: 152 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005558/0.1233, allocations: 297.3 kB / 305.5 MB, free: 15.85 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0004147/0.1237, allocations: 0.5785 MB / 306.1 MB, free: 15.26 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008708/0.1246, allocations: 347.8 kB / 306.4 MB, free: 14.92 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001638/0.1262, allocations: 0.9874 MB / 307.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002751/0.129, allocations: 1.327 MB / 308.7 MB, free: 12.21 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/0.129, allocations: 4 kB / 308.7 MB, free: 12.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003937/0.1329, allocations: 1.576 MB / 310.3 MB, free: 10.6 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/0.133, allocations: 12 kB / 310.3 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.133, allocations: 8.25 kB / 310.3 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/0.1343, allocations: 326 kB / 310.7 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.1355, allocations: 287.6 kB / 310.9 MB, free: 9.961 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008692/0.1442, allocations: 7.005 MB / 317.9 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.1457, allocations: 103.8 kB / 318 MB, free: 2.492 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002115/0.1459, allocations: 51.98 kB / 318.1 MB, free: 2.441 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.dutyCycle.nextTimeEvent,$whenCondition1,dutyCycle.nextTimeEventScaled,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 143 * 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%), (1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001318/0.1472, allocations: 0.5236 MB / 318.6 MB, free: 1.906 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000571/0.1478, allocations: 194.9 kB / 318.8 MB, free: 1.715 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003592/0.1514, allocations: 1.33 MB / 320.1 MB, free: 360 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/0.1514, allocations: 16 kB / 320.1 MB, free: 344 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/0.1514, allocations: 4 kB / 320.2 MB, free: 340 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.645e-05/0.1514, allocations: 7.922 kB / 320.2 MB, free: 332 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009308/0.1607, allocations: 3.808 MB / 324 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/0.1607, allocations: 0 / 324 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008987/0.1616, allocations: 187.8 kB / 324.2 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001611/0.1633, allocations: 372.4 kB / 324.5 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001356/0.1634, allocations: 43.97 kB / 324.6 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01051/0.1739, allocations: 8.714 MB / 333.3 MB, free: 2.578 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.1739, allocations: 4 kB / 333.3 MB, free: 2.574 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005001/0.1789, allocations: 2.02 MB / 335.3 MB, free: 472 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/0.1802, allocations: 274.8 kB / 335.6 MB, free: 196 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004614/0.1807, allocations: 28 kB / 335.6 MB, free: 168 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.1818, allocations: 67.92 kB / 335.7 MB, free: 100 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003469/0.1821, allocations: 108.7 kB / 335.8 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/0.1822, allocations: 43.94 kB / 335.8 MB, free: 15.95 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002306/0.1845, allocations: 0.8658 MB / 336.7 MB, free: 15.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1845, allocations: 0 / 336.7 MB, free: 15.07 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002285/0.1868, allocations: 455.9 kB / 337.1 MB, free: 14.63 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,6,100.0%), (1,3,100.0%), (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.003415/0.1902, allocations: 0.5109 MB / 337.6 MB, free: 14.15 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003779/0.194, allocations: 1.762 MB / 339.4 MB, free: 12.33 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.194, allocations: 3.938 kB / 339.4 MB, free: 12.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002694/0.1967, allocations: 1.433 MB / 340.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002189/0.1989, allocations: 372 kB / 341.2 MB, free: 10.45 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007978/0.2069, allocations: 3.772 MB / 345 MB, free: 6.566 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001718/0.2086, allocations: 1.063 MB / 346 MB, free: 5.461 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00112/0.2097, allocations: 247.8 kB / 346.3 MB, free: 5.215 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004324/0.2101, allocations: 100.5 kB / 346.4 MB, free: 5.113 MB / 330.7 MB Notification: Performance of SimCode: time 1.864e-06/0.2101, allocations: 0 / 346.4 MB, free: 5.113 MB / 330.7 MB Notification: Performance of Templates: time 0.1613/0.3715, allocations: 23.62 MB / 370 MB, free: 86.55 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_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_Conveyor/AIMC_Conveyor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 8.81465544900857]