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.001202/0.001202, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001657/0.00286, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.000802/0.000802, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001271/0.002073, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.012/1.012, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1507/1.163, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.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_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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 1.342e-06/1.342e-06, allocations: 0 / 222 MB, free: 56 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.411e-05, allocations: 6.312 kB / 222 MB, free: 48 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.008952/0.008976, allocations: 9.255 MB / 231.3 MB, free: 6.746 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007097/0.01607, allocations: 3.467 MB / 234.7 MB, free: 3.262 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001546/0.01762, allocations: 51.62 kB / 234.8 MB, free: 3.211 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001878/0.0195, allocations: 0.7493 MB / 235.5 MB, free: 2.457 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002708/0.02221, allocations: 0.8849 MB / 236.4 MB, free: 1.566 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.02327, allocations: 462.9 kB / 236.9 MB, free: 1.113 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.003368/0.02664, allocations: 2.52 MB / 239.4 MB, free: 14.58 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001187/0.02782, allocations: 1.021 MB / 240.4 MB, free: 13.5 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002986/0.03081, allocations: 1.934 MB / 242.3 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001747/0.03256, allocations: 1.239 MB / 243.6 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004154/0.03297, allocations: 272 kB / 243.8 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008494/0.03382, allocations: 399.7 kB / 244.2 MB, free: 9.652 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005291/0.03435, allocations: 0.6585 MB / 244.9 MB, free: 8.992 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001087/0.03544, allocations: 0.7174 MB / 245.6 MB, free: 8.273 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001978/0.03742, allocations: 1.939 MB / 247.5 MB, free: 6.328 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.087e-05/0.03743, allocations: 0 / 247.5 MB, free: 6.328 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.03743, allocations: 0 / 247.5 MB, free: 6.328 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.128e-05/0.03746, allocations: 3.938 kB / 247.5 MB, free: 6.324 MB / 250.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.002986/0.04045, allocations: 2.915 MB / 250.5 MB, free: 3.371 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.04049, allocations: 8.031 kB / 250.5 MB, free: 3.363 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000656/0.04115, allocations: 433.7 kB / 250.9 MB, free: 2.922 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.04235, allocations: 0.8891 MB / 251.8 MB, free: 1.988 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.645e-05/0.04243, allocations: 143.7 kB / 251.9 MB, free: 1.848 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/0.04261, allocations: 191.9 kB / 252.1 MB, free: 1.66 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001831/0.04444, allocations: 1.448 MB / 253.6 MB, free: 156 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.669e-05/0.04448, allocations: 4 kB / 253.6 MB, free: 152 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.04459, allocations: 76 kB / 253.6 MB, free: 76 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.59e-05/0.04468, allocations: 95.66 kB / 253.7 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008019/0.04548, allocations: 0.5523 MB / 254.3 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005684/0.05117, allocations: 4.783 MB / 259.1 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.05219, allocations: 0.5783 MB / 259.6 MB, free: 9.871 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005485/0.05274, allocations: 410.6 kB / 260 MB, free: 9.461 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001379/0.05288, allocations: 40.98 kB / 260.1 MB, free: 9.422 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004514/0.05333, allocations: 497.5 kB / 260.6 MB, free: 8.883 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 2.274e-06/0.05333, allocations: 0 / 260.6 MB, free: 8.883 MB / 266.7 MB Notification: Performance of matching and sorting (n=121): time 0.005852/0.05918, allocations: 3.206 MB / 263.8 MB, free: 5.617 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.05924, allocations: 94.11 kB / 263.9 MB, free: 5.508 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009901/0.06023, allocations: 1.001 MB / 264.9 MB, free: 4.496 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.619e-05/0.0603, allocations: 45.7 kB / 264.9 MB, free: 4.445 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005032/0.0608, allocations: 0.7837 MB / 265.7 MB, free: 3.648 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/0.06105, allocations: 440.2 kB / 266.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002517/0.0613, allocations: 235.4 kB / 266.4 MB, free: 2.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004913/0.0618, allocations: 361.8 kB / 266.7 MB, free: 2.621 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.06201, allocations: 162.8 kB / 266.9 MB, free: 2.461 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003978/0.06241, allocations: 0.6132 MB / 267.5 MB, free: 1.672 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006963/0.06311, allocations: 0.8361 MB / 268.3 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.06311, allocations: 4 kB / 268.3 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001248/0.06436, allocations: 0.9792 MB / 269.3 MB, free: 15.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.06438, allocations: 12 kB / 269.3 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.0644, allocations: 12.19 kB / 269.3 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006105/0.06501, allocations: 279.3 kB / 269.6 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006649/0.06567, allocations: 315.6 kB / 269.9 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003414/0.06909, allocations: 4.764 MB / 274.7 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006802/0.06977, allocations: 63.92 kB / 274.7 MB, free: 9.953 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.316e-05/0.06983, allocations: 40 kB / 274.8 MB, free: 9.914 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (150): * Single equations (assignments): 145 * 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.0005061/0.07034, allocations: 207.3 kB / 275 MB, free: 9.703 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002222/0.07056, allocations: 127.8 kB / 275.1 MB, free: 9.578 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/0.0717, allocations: 0.884 MB / 276 MB, free: 8.664 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.07171, allocations: 12 kB / 276 MB, free: 8.652 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.07172, allocations: 4 kB / 276 MB, free: 8.648 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.07173, allocations: 11.97 kB / 276 MB, free: 8.637 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003002/0.07473, allocations: 2.476 MB / 278.5 MB, free: 6.066 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.07473, allocations: 4 kB / 278.5 MB, free: 6.062 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004424/0.07518, allocations: 195.8 kB / 278.7 MB, free: 5.871 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003353/0.07551, allocations: 199 kB / 278.9 MB, free: 5.676 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007154/0.07623, allocations: 351.1 kB / 279.2 MB, free: 5.312 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.686e-05/0.07628, allocations: 39.92 kB / 279.3 MB, free: 5.273 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.122/0.1983, allocations: 5.932 MB / 285.2 MB, free: 44.62 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/0.1983, allocations: 6.625 kB / 285.2 MB, free: 44.62 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00199/0.2003, allocations: 1.299 MB / 286.5 MB, free: 44.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002694/0.2005, allocations: 37.78 kB / 286.5 MB, free: 44.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004267/0.201, allocations: 42.28 kB / 286.6 MB, free: 44.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002301/0.2012, allocations: 105.7 kB / 286.7 MB, free: 44.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.014e-05/0.2013, allocations: 36.34 kB / 286.7 MB, free: 44.23 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007789/0.202, allocations: 465.2 kB / 287.2 MB, free: 44.19 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.202, allocations: 1.375 kB / 287.2 MB, free: 44.19 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001784/0.2038, allocations: 441.6 kB / 287.6 MB, free: 44.19 MB / 282.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%), (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.00147/0.2053, allocations: 0.643 MB / 288.2 MB, free: 43.81 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001847/0.2071, allocations: 1.167 MB / 289.4 MB, free: 43.41 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.057e-05/0.2072, allocations: 28.47 kB / 289.4 MB, free: 43.41 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001456/0.2087, allocations: 1.173 MB / 290.6 MB, free: 42.84 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/0.2107, allocations: 3.342 MB / 294 MB, free: 39.46 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01388/0.2246, allocations: 3.439 MB / 297.4 MB, free: 37.97 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006386/0.2252, allocations: 472.2 kB / 297.9 MB, free: 37.88 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0007498/0.226, allocations: 183.9 kB / 298 MB, free: 37.84 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006893/0.2267, allocations: 370.3 kB / 298.4 MB, free: 37.79 MB / 282.7 MB Notification: Performance of SimCode: time 1.914e-06/0.2267, allocations: 3.969 kB / 298.4 MB, free: 37.79 MB / 282.7 MB Notification: Performance of Templates: time 0.03202/0.2587, allocations: 25.5 MB / 323.9 MB, free: 19.44 MB / 282.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 -ignoreHideResult -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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 5.069686676375568]