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.001532/0.001532, allocations: 96.3 kB / 21.73 MB, free: 2.699 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.001582/0.001582, allocations: 171.4 kB / 25.02 MB, free: 8.426 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.448/1.448, 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 1.542e-06/1.542e-06, allocations: 0 / 250.4 MB, free: 7.809 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.489e-05/2.643e-05, allocations: 2.312 kB / 250.4 MB, free: 7.805 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.01243/0.01246, allocations: 8.381 MB / 258.8 MB, free: 15.38 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007104/0.01956, allocations: 3.218 MB / 262 MB, free: 12.15 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009361/0.0205, allocations: 51.62 kB / 262 MB, free: 12.1 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001844/0.02234, allocations: 0.7299 MB / 262.8 MB, free: 11.37 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002156/0.0245, allocations: 0.8733 MB / 263.6 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.02559, allocations: 466.9 kB / 264.1 MB, free: 10.03 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002998/0.02859, allocations: 2.509 MB / 266.6 MB, free: 7.512 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001543/0.03013, allocations: 0.9894 MB / 267.6 MB, free: 6.473 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002573/0.0327, allocations: 1.606 MB / 269.2 MB, free: 4.863 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002098/0.0348, allocations: 1.212 MB / 270.4 MB, free: 3.648 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004662/0.03527, allocations: 280 kB / 270.7 MB, free: 3.375 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008243/0.03609, allocations: 411.7 kB / 271.1 MB, free: 2.973 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009581/0.03705, allocations: 0.8335 MB / 271.9 MB, free: 2.137 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001254/0.0383, allocations: 0.873 MB / 272.8 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004927/0.04323, allocations: 3.782 MB / 276.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.04323, allocations: 0 / 276.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.04324, allocations: 0 / 276.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.192e-05/0.04332, allocations: 4 kB / 276.6 MB, free: 13.46 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.00928/0.0526, allocations: 2.632 MB / 279.2 MB, free: 10.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.723e-05/0.05265, allocations: 15.98 kB / 279.2 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001591/0.05425, allocations: 431.3 kB / 279.6 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00409/0.05834, allocations: 1.283 MB / 280.9 MB, free: 9.035 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002341/0.05857, allocations: 147.7 kB / 281.1 MB, free: 8.891 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000546/0.05912, allocations: 195.9 kB / 281.3 MB, free: 8.699 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007663/0.06678, allocations: 2.536 MB / 283.8 MB, free: 6.105 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.268e-05/0.06686, allocations: 7.953 kB / 283.8 MB, free: 6.098 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003091/0.06717, allocations: 79.98 kB / 283.9 MB, free: 6.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001901/0.06736, allocations: 99.61 kB / 284 MB, free: 5.922 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006122/0.07348, allocations: 1.974 MB / 286 MB, free: 3.945 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0194/0.09288, allocations: 6.432 MB / 292.4 MB, free: 13.33 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00329/0.09617, allocations: 1.066 MB / 293.5 MB, free: 12.26 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002687/0.09886, allocations: 0.8226 MB / 294.3 MB, free: 11.44 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003157/0.09917, allocations: 48.91 kB / 294.3 MB, free: 11.39 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001917/0.1011, allocations: 0.7879 MB / 295.1 MB, free: 10.54 MB / 282.7 MB Notification: Performance of pre-optimization done (n=99): time 4.93e-06/0.1011, allocations: 0 / 295.1 MB, free: 10.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=121): time 0.02316/0.1243, allocations: 7.061 MB / 302.2 MB, free: 3.426 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001673/0.1244, allocations: 196.9 kB / 302.4 MB, free: 3.191 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002004/0.1264, allocations: 1.269 MB / 303.6 MB, free: 1.91 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.1265, allocations: 45.7 kB / 303.7 MB, free: 1.859 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001244/0.1278, allocations: 0.9614 MB / 304.6 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004428/0.1282, allocations: 436.3 kB / 305.1 MB, free: 468 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004357/0.1287, allocations: 243.5 kB / 305.3 MB, free: 216 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002385/0.1289, allocations: 361.9 kB / 305.7 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/0.13, allocations: 0.6325 MB / 306.3 MB, free: 15.22 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001609/0.1316, allocations: 1.111 MB / 307.4 MB, free: 13.94 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002762/0.1344, allocations: 1.704 MB / 309.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.1344, allocations: 4 kB / 309.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004709/0.1391, allocations: 2.312 MB / 311.4 MB, free: 9.762 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/0.1391, allocations: 15.97 kB / 311.4 MB, free: 9.746 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/0.1392, allocations: 12 kB / 311.4 MB, free: 9.734 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/0.1407, allocations: 0.5272 MB / 312 MB, free: 9.191 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.1418, allocations: 291.6 kB / 312.3 MB, free: 8.906 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008629/0.1504, allocations: 6.785 MB / 319 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/0.1515, allocations: 95.92 kB / 319.1 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/0.1516, allocations: 55.98 kB / 319.2 MB, free: 1.672 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.001143/0.1528, allocations: 0.6262 MB / 319.8 MB, free: 1.035 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003724/0.1531, allocations: 199 kB / 320 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004109/0.1572, allocations: 2.043 MB / 322.1 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.1573, allocations: 12 kB / 322.1 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.1573, allocations: 4 kB / 322.1 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/0.1573, allocations: 11.97 kB / 322.1 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008056/0.1653, allocations: 3.967 MB / 326.1 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.1653, allocations: 4.438 kB / 326.1 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008615/0.1662, allocations: 187.8 kB / 326.2 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001797/0.168, allocations: 0.5683 MB / 326.8 MB, free: 9.902 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/0.1681, allocations: 39.92 kB / 326.8 MB, free: 9.863 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01066/0.1788, allocations: 8.184 MB / 335 MB, free: 1.27 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.339e-05/0.1788, allocations: 11.98 kB / 335 MB, free: 1.258 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006145/0.1849, allocations: 3.044 MB / 338.1 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009277/0.1859, allocations: 282.9 kB / 338.4 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002323/0.1861, allocations: 35.98 kB / 338.4 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008132/0.1869, allocations: 63.94 kB / 338.5 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003096/0.1872, allocations: 108.7 kB / 338.6 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.595e-05/0.1873, allocations: 39.98 kB / 338.6 MB, free: 13.62 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001443/0.1887, allocations: 0.862 MB / 339.5 MB, free: 12.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1887, allocations: 0 / 339.5 MB, free: 12.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002046/0.1908, allocations: 451.9 kB / 339.9 MB, free: 12.31 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.002359/0.1932, allocations: 0.5224 MB / 340.4 MB, free: 11.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004003/0.1972, allocations: 2.041 MB / 342.5 MB, free: 9.742 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.1972, allocations: 4.062 kB / 342.5 MB, free: 9.738 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002642/0.1998, allocations: 1.399 MB / 343.9 MB, free: 8.281 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/0.2017, allocations: 380 kB / 344.2 MB, free: 7.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007891/0.2096, allocations: 4.154 MB / 348.4 MB, free: 3.664 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001529/0.2112, allocations: 1.125 MB / 349.5 MB, free: 2.496 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009981/0.2122, allocations: 299.8 kB / 349.8 MB, free: 2.199 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003307/0.2125, allocations: 104.5 kB / 349.9 MB, free: 2.098 MB / 330.7 MB Notification: Performance of SimCode: time 1.593e-06/0.2125, allocations: 0 / 349.9 MB, free: 2.098 MB / 330.7 MB Notification: Performance of Templates: time 0.1615/0.374, allocations: 23.57 MB / 373.5 MB, free: 86.31 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe 2>&1) [Timeout 480] 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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 8.743082499946468]