Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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.001325/0.001325, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.0009396/0.0009396, allocations: 165.4 kB / 25.61 MB, free: 8.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9228/0.9228, allocations: 177.1 MB / 206 MB, free: 4.508 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.InductionMachines.IMC_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_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 274.2 MB, free: 4.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.569e-05, allocations: 6.25 kB / 274.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01072/0.01075, allocations: 9.219 MB / 283.4 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008604/0.01935, allocations: 3.541 MB / 287 MB, free: 7.609 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002144/0.0215, allocations: 59.62 kB / 287 MB, free: 7.551 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002614/0.02411, allocations: 0.7221 MB / 287.7 MB, free: 6.824 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003927/0.02804, allocations: 0.9277 MB / 288.7 MB, free: 5.891 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.02937, allocations: 466.9 kB / 289.1 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003157/0.03253, allocations: 2.509 MB / 291.6 MB, free: 2.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001568/0.0341, allocations: 1.025 MB / 292.7 MB, free: 1.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002805/0.0369, allocations: 1.789 MB / 294.5 MB, free: 48 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001896/0.0388, allocations: 1.255 MB / 295.7 MB, free: 14.79 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005799/0.03938, allocations: 272 kB / 296 MB, free: 14.52 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008466/0.04023, allocations: 403.7 kB / 296.4 MB, free: 14.13 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007038/0.04093, allocations: 0.8101 MB / 297.2 MB, free: 13.32 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00122/0.04215, allocations: 0.8691 MB / 298 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002213/0.04436, allocations: 2.079 MB / 300.1 MB, free: 10.36 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.04437, allocations: 0 / 300.1 MB, free: 10.36 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.04437, allocations: 0 / 300.1 MB, free: 10.36 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.564e-05/0.04442, allocations: 0 / 300.1 MB, free: 10.36 MB / 282.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.003703/0.04812, allocations: 2.719 MB / 302.8 MB, free: 7.594 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.04817, allocations: 11.98 kB / 302.9 MB, free: 7.582 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007553/0.04892, allocations: 447.2 kB / 303.3 MB, free: 7.145 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.05037, allocations: 1.239 MB / 304.5 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.673e-05/0.05046, allocations: 143.7 kB / 304.7 MB, free: 5.719 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/0.05065, allocations: 191.9 kB / 304.9 MB, free: 5.531 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/0.05227, allocations: 1.418 MB / 306.3 MB, free: 4.047 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.095e-05/0.05231, allocations: 7.953 kB / 306.3 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/0.05242, allocations: 79.94 kB / 306.4 MB, free: 3.961 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-05/0.0525, allocations: 99.67 kB / 306.5 MB, free: 3.863 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008319/0.05333, allocations: 0.5509 MB / 307 MB, free: 3.309 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006629/0.05996, allocations: 5.929 MB / 312.9 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007144/0.06067, allocations: 0.5639 MB / 313.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005688/0.06124, allocations: 453.2 kB / 313.9 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/0.06137, allocations: 40.97 kB / 314 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004493/0.06181, allocations: 0.4901 MB / 314.5 MB, free: 11.58 MB / 298.7 MB Notification: Performance of pre-optimization done (n=99): time 2.625e-06/0.06182, allocations: 0 / 314.5 MB, free: 11.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=121): time 0.004971/0.06679, allocations: 3.099 MB / 317.6 MB, free: 8.422 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.06685, allocations: 171.2 kB / 317.7 MB, free: 8.215 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000821/0.06767, allocations: 1.107 MB / 318.9 MB, free: 7.098 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.914e-05/0.06773, allocations: 49.7 kB / 318.9 MB, free: 7.043 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000517/0.06824, allocations: 1.054 MB / 320 MB, free: 5.977 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/0.06848, allocations: 444.2 kB / 320.4 MB, free: 5.539 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002656/0.06874, allocations: 265 kB / 320.6 MB, free: 5.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.06889, allocations: 0.5432 MB / 321.2 MB, free: 4.719 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.0691, allocations: 167.8 kB / 321.4 MB, free: 4.555 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007648/0.06987, allocations: 0.7722 MB / 322.1 MB, free: 3.555 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007182/0.07059, allocations: 0.9281 MB / 323.1 MB, free: 2.438 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.07059, allocations: 0 / 323.1 MB, free: 2.438 MB / 298.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.00138/0.07197, allocations: 1.213 MB / 324.3 MB, free: 1.195 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.07199, allocations: 11.94 kB / 324.3 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.072, allocations: 12 kB / 324.3 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005536/0.07255, allocations: 282.3 kB / 324.6 MB, free: 0.875 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005362/0.07309, allocations: 267.6 kB / 324.8 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003583/0.07667, allocations: 6.501 MB / 331.3 MB, free: 9.777 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004615/0.07713, allocations: 59.94 kB / 331.4 MB, free: 9.719 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.756e-05/0.07719, allocations: 44 kB / 331.4 MB, free: 9.676 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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.0003231/0.07752, allocations: 244.3 kB / 331.7 MB, free: 9.426 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/0.07771, allocations: 187.1 kB / 331.9 MB, free: 9.242 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/0.079, allocations: 1.061 MB / 332.9 MB, free: 8.152 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.079, allocations: 16 kB / 332.9 MB, free: 8.137 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.07901, allocations: 4 kB / 332.9 MB, free: 8.133 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.577e-06/0.07902, allocations: 3.984 kB / 332.9 MB, free: 8.129 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003075/0.08209, allocations: 2.848 MB / 335.8 MB, free: 5.168 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.0821, allocations: 4 kB / 335.8 MB, free: 5.164 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003954/0.08249, allocations: 175.7 kB / 336 MB, free: 4.992 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008193/0.08331, allocations: 321.2 kB / 336.3 MB, free: 4.66 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.516e-05/0.08337, allocations: 39.97 kB / 336.3 MB, free: 4.621 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003772/0.08714, allocations: 8.187 MB / 344.5 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.08714, allocations: 4 kB / 344.5 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.08875, allocations: 1.53 MB / 346 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003128/0.08907, allocations: 238.9 kB / 346.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.08918, allocations: 32.03 kB / 346.3 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003536/0.08954, allocations: 43.97 kB / 346.3 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.08967, allocations: 108.7 kB / 346.4 MB, free: 9.938 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/0.08972, allocations: 27.98 kB / 346.5 MB, free: 9.91 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004584/0.09018, allocations: 0.6162 MB / 347.1 MB, free: 9.289 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09018, allocations: 0 / 347.1 MB, free: 9.289 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009946/0.09117, allocations: 451.9 kB / 347.5 MB, free: 8.848 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (105): * Single equations (assignments): 98 * 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.0009484/0.09212, allocations: 482.4 kB / 348 MB, free: 8.516 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001296/0.09342, allocations: 1.387 MB / 349.4 MB, free: 7.066 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.09342, allocations: 0 / 349.4 MB, free: 7.066 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008886/0.09431, allocations: 1.199 MB / 350.6 MB, free: 5.789 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.09542, allocations: 374.1 kB / 351 MB, free: 5.434 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004216/0.09963, allocations: 3.57 MB / 354.5 MB, free: 1.762 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004172/0.1001, allocations: 0.5127 MB / 355 MB, free: 1.223 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004937/0.1005, allocations: 176 kB / 355.2 MB, free: 1.047 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005985/0.1011, allocations: 422 kB / 355.6 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of SimCode: time 1.312e-06/0.1011, allocations: 0 / 355.6 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of Templates: time 0.1223/0.2234, allocations: 25.16 MB / 380.8 MB, free: 63.88 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 6.032843371387571]