Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.001271/0.001271, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.00153/0.00153, allocations: 169.6 kB / 24.91 MB, free: 8.77 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.9066/0.9066, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|aimc.is.[0-9,]+.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|aimc.is.[0-9,]+.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 273.5 MB, free: 1.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.191e-05/1.304e-05, allocations: 6.312 kB / 273.5 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01056/0.01057, allocations: 13.5 MB / 287 MB, free: 3.719 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1055/0.1161, allocations: 5.264 MB / 292.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002141/0.1182, allocations: 102.8 kB / 292.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002535/0.1207, allocations: 1.148 MB / 293.5 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003297/0.124, allocations: 1.476 MB / 294.9 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001887/0.1259, allocations: 1 MB / 295.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00407/0.13, allocations: 4.324 MB / 300.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002335/0.1323, allocations: 1.803 MB / 302.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003825/0.1361, allocations: 3 MB / 305.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002487/0.1386, allocations: 1.995 MB / 307.1 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005371/0.1392, allocations: 0.506 MB / 307.6 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.1402, allocations: 0.7532 MB / 308.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006557/0.1408, allocations: 1.179 MB / 309.5 MB, free: 9.918 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001233/0.1421, allocations: 1.453 MB / 311 MB, free: 9.125 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002608/0.1447, allocations: 3.541 MB / 314.5 MB, free: 6.461 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1447, allocations: 0 / 314.5 MB, free: 6.461 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1447, allocations: 0 / 314.5 MB, free: 6.461 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.92e-05/0.1447, allocations: 0 / 314.5 MB, free: 6.461 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.004676/0.1494, allocations: 4.374 MB / 318.9 MB, free: 2.262 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.814e-05/0.1494, allocations: 19.41 kB / 318.9 MB, free: 2.246 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002276/0.1517, allocations: 1.105 MB / 320 MB, free: 1.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/0.1534, allocations: 1.508 MB / 321.5 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.1535, allocations: 249.5 kB / 321.8 MB, free: 15.46 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003193/0.1539, allocations: 322.8 kB / 322.1 MB, free: 15.15 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002868/0.1567, allocations: 2.423 MB / 324.5 MB, free: 12.78 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.738e-05/0.1568, allocations: 4 kB / 324.5 MB, free: 12.78 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002019/0.157, allocations: 139 kB / 324.6 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001047/0.1571, allocations: 154.4 kB / 324.8 MB, free: 12.49 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/0.1586, allocations: 0.9522 MB / 325.7 MB, free: 11.54 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008675/0.1673, allocations: 8.24 MB / 334 MB, free: 3.656 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002093/0.1694, allocations: 1.747 MB / 335.7 MB, free: 1.953 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/0.1704, allocations: 0.8616 MB / 336.6 MB, free: 1.125 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002713/0.1731, allocations: 2.02 MB / 338.6 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004991/0.1736, allocations: 0.6499 MB / 339.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of pre-optimization done (n=132): time 2.374e-06/0.1736, allocations: 0 / 339.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=140): time 0.004704/0.1783, allocations: 3.16 MB / 342.4 MB, free: 11.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.783e-05/0.1784, allocations: 226.9 kB / 342.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009406/0.1793, allocations: 1.329 MB / 344 MB, free: 9.957 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.966e-05/0.1794, allocations: 49.7 kB / 344 MB, free: 9.902 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005533/0.18, allocations: 1.299 MB / 345.3 MB, free: 8.664 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/0.1802, allocations: 0.4883 MB / 345.8 MB, free: 8.203 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002782/0.1805, allocations: 303.1 kB / 346.1 MB, free: 7.938 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.104e-05/0.1805, allocations: 312.6 kB / 346.4 MB, free: 7.633 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/0.1808, allocations: 190.8 kB / 346.6 MB, free: 7.445 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007311/0.1815, allocations: 0.8791 MB / 347.5 MB, free: 6.336 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008239/0.1824, allocations: 1.042 MB / 348.5 MB, free: 5.152 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.1824, allocations: 4 kB / 348.5 MB, free: 5.148 MB / 298.7 MB Notification: Performance of matching and sorting (n=221) (initialization): time 0.001277/0.1836, allocations: 1.175 MB / 349.7 MB, free: 3.957 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.1837, allocations: 8 kB / 349.7 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.1837, allocations: 16 kB / 349.7 MB, free: 3.934 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004601/0.1841, allocations: 256.5 kB / 350 MB, free: 3.676 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006835/0.1848, allocations: 367.4 kB / 350.3 MB, free: 3.316 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002947/0.1878, allocations: 4.878 MB / 355.2 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005023/0.1883, allocations: 87.97 kB / 355.3 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.24e-05/0.1883, allocations: 55.98 kB / 355.3 MB, free: 14.05 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (195): * Single equations (assignments): 191 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(1,4,100.0%), (1,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003855/0.1887, allocations: 225.1 kB / 355.6 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.1889, allocations: 159.8 kB / 355.7 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/0.1902, allocations: 1.058 MB / 356.8 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.1902, allocations: 16 kB / 356.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1902, allocations: 7.938 kB / 356.8 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.1902, allocations: 7.969 kB / 356.8 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002596/0.1928, allocations: 2.276 MB / 359.1 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.1928, allocations: 192 / 359.1 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000377/0.1932, allocations: 171.8 kB / 359.2 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007178/0.1939, allocations: 401.4 kB / 359.6 MB, free: 9.891 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-05/0.1939, allocations: 31.98 kB / 359.7 MB, free: 9.859 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004599/0.1985, allocations: 8.395 MB / 368.1 MB, free: 1.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1985, allocations: 4 kB / 368.1 MB, free: 1.086 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.2003, allocations: 1.37 MB / 369.4 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003099/0.2006, allocations: 202.7 kB / 369.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/0.2007, allocations: 36 kB / 369.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003588/0.2011, allocations: 51.97 kB / 369.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.2012, allocations: 109 kB / 369.8 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.731e-05/0.2013, allocations: 31.98 kB / 369.9 MB, free: 15.28 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004629/0.2017, allocations: 0.605 MB / 370.5 MB, free: 14.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2017, allocations: 0 / 370.5 MB, free: 14.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001139/0.2029, allocations: 0.582 MB / 371 MB, free: 14.16 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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 (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,8,100.0%), (1,3,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001116/0.204, allocations: 0.584 MB / 371.6 MB, free: 13.83 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001178/0.2052, allocations: 1.246 MB / 372.9 MB, free: 12.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.547e-05/0.2052, allocations: 21.81 kB / 372.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009265/0.2061, allocations: 1.178 MB / 374.1 MB, free: 11.33 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009612/0.2071, allocations: 469.2 kB / 374.5 MB, free: 10.88 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005177/0.2122, allocations: 4.875 MB / 379.4 MB, free: 5.965 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005283/0.2128, allocations: 0.6559 MB / 380.1 MB, free: 5.289 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005003/0.2133, allocations: 251.7 kB / 380.3 MB, free: 5.039 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006651/0.2139, allocations: 459.1 kB / 380.8 MB, free: 4.582 MB / 330.7 MB Notification: Performance of SimCode: time 6.71e-07/0.2139, allocations: 0 / 380.8 MB, free: 4.582 MB / 330.7 MB Notification: Performance of Templates: time 0.03728/0.2512, allocations: 30.06 MB / 410.8 MB, free: 6.988 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/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: 5.949372380971909]