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.001206/0.001206, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001872/0.003078, allocations: 445.7 kB / 10.37 MB, free: 328 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.001273/0.001273, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001429/0.002702, allocations: 463.6 kB / 11.71 MB, free: 2.453 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 0.9841/0.9841, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1609/1.145, allocations: 49.48 MB / 220.5 MB, free: 1.453 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.312e-06/1.312e-06, allocations: 0 / 221.8 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.676e-05/2.807e-05, allocations: 6.25 kB / 221.9 MB, free: 156 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.01342/0.01345, allocations: 9.255 MB / 231.1 MB, free: 6.852 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007576/0.02102, allocations: 3.459 MB / 234.6 MB, free: 3.379 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00191/0.02293, allocations: 55.62 kB / 234.6 MB, free: 3.324 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002255/0.02519, allocations: 0.7338 MB / 235.4 MB, free: 2.586 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002726/0.02792, allocations: 0.8927 MB / 236.2 MB, free: 1.688 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.02898, allocations: 463 kB / 236.7 MB, free: 1.234 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002952/0.03193, allocations: 2.524 MB / 239.2 MB, free: 14.7 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001323/0.03325, allocations: 1.013 MB / 240.2 MB, free: 13.63 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003898/0.03715, allocations: 1.938 MB / 242.2 MB, free: 11.67 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001846/0.039, allocations: 1.243 MB / 243.4 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008046/0.0398, allocations: 268 kB / 243.7 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009126/0.04071, allocations: 395.7 kB / 244.1 MB, free: 9.777 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006343/0.04135, allocations: 0.6584 MB / 244.7 MB, free: 9.117 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001284/0.04263, allocations: 0.7135 MB / 245.4 MB, free: 8.402 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002603/0.04523, allocations: 1.935 MB / 247.4 MB, free: 6.461 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.416e-05/0.04525, allocations: 0 / 247.4 MB, free: 6.461 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.04525, allocations: 0 / 247.4 MB, free: 6.461 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001219/0.04537, allocations: 0 / 247.4 MB, free: 6.461 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.004544/0.04992, allocations: 2.927 MB / 250.3 MB, free: 3.496 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.04996, allocations: 8.031 kB / 250.3 MB, free: 3.488 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007556/0.05072, allocations: 421.7 kB / 250.7 MB, free: 3.059 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.05218, allocations: 0.897 MB / 251.6 MB, free: 2.117 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.538e-05/0.05227, allocations: 143.7 kB / 251.8 MB, free: 1.977 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002014/0.05247, allocations: 191.9 kB / 251.9 MB, free: 1.789 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001995/0.05446, allocations: 1.436 MB / 253.4 MB, free: 300 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.174e-05/0.05451, allocations: 7.984 kB / 253.4 MB, free: 292 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/0.05463, allocations: 79.98 kB / 253.5 MB, free: 212 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.662e-05/0.0547, allocations: 95.62 kB / 253.6 MB, free: 116 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009608/0.05566, allocations: 0.5639 MB / 254.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006051/0.06171, allocations: 4.783 MB / 258.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007155/0.06243, allocations: 0.5744 MB / 259.5 MB, free: 9.992 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005223/0.06295, allocations: 414.6 kB / 259.9 MB, free: 9.582 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000133/0.06308, allocations: 40.98 kB / 259.9 MB, free: 9.543 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004674/0.06355, allocations: 0.4898 MB / 260.4 MB, free: 9 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 3.216e-06/0.06355, allocations: 0 / 260.4 MB, free: 9 MB / 266.7 MB Notification: Performance of matching and sorting (n=121): time 0.00638/0.06993, allocations: 3.137 MB / 263.6 MB, free: 5.801 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.06999, allocations: 94.05 kB / 263.6 MB, free: 5.691 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009151/0.0709, allocations: 1.001 MB / 264.6 MB, free: 4.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.077e-05/0.07096, allocations: 45.7 kB / 264.7 MB, free: 4.629 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004864/0.07145, allocations: 0.7876 MB / 265.5 MB, free: 3.828 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002374/0.07169, allocations: 432.2 kB / 265.9 MB, free: 3.402 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002314/0.07192, allocations: 239.4 kB / 266.1 MB, free: 3.164 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.07202, allocations: 365.8 kB / 266.5 MB, free: 2.801 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.07223, allocations: 166.8 kB / 266.7 MB, free: 2.637 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004111/0.07264, allocations: 0.6054 MB / 267.3 MB, free: 1.859 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007146/0.07336, allocations: 0.801 MB / 268.1 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.07336, allocations: 4 kB / 268.1 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001329/0.07469, allocations: 0.9838 MB / 269 MB, free: 15.89 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.07472, allocations: 12 kB / 269.1 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.07473, allocations: 8.25 kB / 269.1 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005804/0.07531, allocations: 287.2 kB / 269.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006335/0.07595, allocations: 307.6 kB / 269.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003187/0.07913, allocations: 4.771 MB / 274.4 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005938/0.07973, allocations: 51.98 kB / 274.5 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.367e-05/0.07979, allocations: 51.92 kB / 274.5 MB, free: 10.12 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.0004554/0.08025, allocations: 208.2 kB / 274.7 MB, free: 9.91 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/0.08044, allocations: 123.9 kB / 274.8 MB, free: 9.789 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.08153, allocations: 0.8767 MB / 275.7 MB, free: 8.883 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.08154, allocations: 16 kB / 275.7 MB, free: 8.867 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.08155, allocations: 4 kB / 275.7 MB, free: 8.863 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.08156, allocations: 11.95 kB / 275.8 MB, free: 8.852 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002894/0.08446, allocations: 2.476 MB / 278.2 MB, free: 6.277 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.343e-06/0.08446, allocations: 4 kB / 278.2 MB, free: 6.273 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004355/0.0849, allocations: 203.7 kB / 278.4 MB, free: 6.074 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003228/0.08522, allocations: 190.9 kB / 278.6 MB, free: 5.887 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006823/0.0859, allocations: 354.6 kB / 279 MB, free: 5.523 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.803e-05/0.08596, allocations: 35.98 kB / 279 MB, free: 5.488 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1212/0.2072, allocations: 5.93 MB / 284.9 MB, free: 44.69 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.716e-06/0.2072, allocations: 4.375 kB / 284.9 MB, free: 44.69 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/0.2094, allocations: 1.297 MB / 286.2 MB, free: 44.3 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002604/0.2097, allocations: 38.7 kB / 286.3 MB, free: 44.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004606/0.2101, allocations: 42.02 kB / 286.3 MB, free: 44.3 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002744/0.2104, allocations: 104.3 kB / 286.4 MB, free: 44.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.658e-05/0.2105, allocations: 32.27 kB / 286.4 MB, free: 44.3 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008423/0.2113, allocations: 469.8 kB / 286.9 MB, free: 44.25 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2113, allocations: 2.516 kB / 286.9 MB, free: 44.25 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0015/0.2128, allocations: 444.3 kB / 287.3 MB, free: 44.25 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.2143, allocations: 0.6339 MB / 288 MB, free: 43.88 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001852/0.2161, allocations: 1.156 MB / 289.1 MB, free: 43.48 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.282e-05/0.2162, allocations: 27.11 kB / 289.2 MB, free: 43.48 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.2172, allocations: 0.9475 MB / 290.1 MB, free: 43 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.2185, allocations: 479.8 kB / 290.6 MB, free: 42.96 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/0.2321, allocations: 3.513 MB / 294.1 MB, free: 41.46 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009527/0.2331, allocations: 476.4 kB / 294.5 MB, free: 41.36 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0008167/0.2339, allocations: 181.6 kB / 294.7 MB, free: 41.33 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006773/0.2346, allocations: 360.9 kB / 295.1 MB, free: 41.28 MB / 282.7 MB Notification: Performance of SimCode: time 2.394e-06/0.2346, allocations: 0 / 295.1 MB, free: 41.28 MB / 282.7 MB Notification: Performance of Templates: time 0.03211/0.2667, allocations: 25.6 MB / 320.7 MB, free: 22.93 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 5.231367642991245]