Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001712/0.001712, allocations: 79.67 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002118/0.002118, allocations: 158.8 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 177.1 MB / 204.7 MB, free: 8.938 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_trunk_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.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 61.48 kB / 325.6 MB, free: 168 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08642/0.08835, allocations: 53.39 MB / 378.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01535/0.1037, allocations: 12.35 MB / 391.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009204/0.1129, allocations: 4.942 MB / 396.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001426/0.1143, allocations: 107.3 kB / 396.3 MB, free: 13.97 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002586/0.1169, allocations: 1.095 MB / 397.4 MB, free: 12.87 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00324/0.1202, allocations: 1.433 MB / 398.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002092/0.1222, allocations: 0.978 MB / 399.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004599/0.1268, allocations: 4.123 MB / 404 MB, free: 6.312 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002371/0.1292, allocations: 1.739 MB / 405.7 MB, free: 4.504 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002381/0.1316, allocations: 1.982 MB / 407.7 MB, free: 2.516 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003037/0.1346, allocations: 2.195 MB / 409.9 MB, free: 312 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006778/0.1353, allocations: 0.5118 MB / 410.4 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.1366, allocations: 0.7497 MB / 411.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001047/0.1377, allocations: 1.149 MB / 412.3 MB, free: 13.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001805/0.1395, allocations: 1.7 MB / 414 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006932/0.1464, allocations: 6.891 MB / 420.9 MB, free: 5.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1464, allocations: 0 / 420.9 MB, free: 5.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1464, allocations: 0 / 420.9 MB, free: 5.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.448e-05/0.1465, allocations: 0 / 420.9 MB, free: 5.27 MB / 382.1 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.01078/0.1572, allocations: 4.539 MB / 425.4 MB, free: 0.6719 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.1573, allocations: 15.98 kB / 425.4 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004262/0.1615, allocations: 0.83 MB / 426.3 MB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004608/0.1662, allocations: 2.416 MB / 428.7 MB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002097/0.1664, allocations: 242.4 kB / 428.9 MB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005152/0.1669, allocations: 319.9 kB / 429.2 MB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007489/0.1744, allocations: 4.446 MB / 433.7 MB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.397e-05/0.1744, allocations: 3.953 kB / 433.7 MB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003024/0.1747, allocations: 136 kB / 433.8 MB, free: 8.141 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001669/0.1749, allocations: 158.4 kB / 434 MB, free: 7.984 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00664/0.1816, allocations: 3.625 MB / 437.6 MB, free: 4.352 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02093/0.2025, allocations: 11.38 MB / 449 MB, free: 8.668 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005586/0.2081, allocations: 2.706 MB / 451.7 MB, free: 6.086 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003049/0.2111, allocations: 1.513 MB / 453.2 MB, free: 4.574 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00692/0.218, allocations: 3.459 MB / 456.7 MB, free: 1.082 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001549/0.2196, allocations: 1.02 MB / 457.7 MB, free: 15.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=132): time 5.671e-06/0.2196, allocations: 3.984 kB / 457.7 MB, free: 15.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.01342/0.233, allocations: 6.131 MB / 463.8 MB, free: 9.805 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/0.2332, allocations: 222.9 kB / 464 MB, free: 9.535 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002715/0.2359, allocations: 1.722 MB / 465.7 MB, free: 7.805 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001184/0.236, allocations: 53.7 kB / 465.8 MB, free: 7.746 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001557/0.2376, allocations: 1.544 MB / 467.3 MB, free: 6.188 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004864/0.238, allocations: 0.5036 MB / 467.8 MB, free: 5.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005212/0.2386, allocations: 319.4 kB / 468.2 MB, free: 5.363 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.2387, allocations: 301.1 kB / 468.4 MB, free: 5.066 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.2399, allocations: 0.6754 MB / 469.1 MB, free: 4.391 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/0.2417, allocations: 1.404 MB / 470.5 MB, free: 2.719 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002942/0.2446, allocations: 1.966 MB / 472.5 MB, free: 0.5508 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.2446, allocations: 4 kB / 472.5 MB, free: 0.5469 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.1913/0.4359, allocations: 2.417 MB / 474.9 MB, free: 81.13 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.4359, allocations: 16.31 kB / 474.9 MB, free: 81.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/0.4359, allocations: 14.88 kB / 474.9 MB, free: 81.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000856/0.4368, allocations: 342.3 kB / 475.3 MB, free: 81.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/0.4381, allocations: 376.7 kB / 475.6 MB, free: 81.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00526/0.4434, allocations: 6.347 MB / 482 MB, free: 76.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/0.4451, allocations: 94.44 kB / 482.1 MB, free: 76.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/0.4452, allocations: 72.12 kB / 482.2 MB, free: 76.57 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (193): * Single equations (assignments): 189 * 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.002132/0.4474, allocations: 1.038 MB / 483.2 MB, free: 76 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004697/0.4478, allocations: 196.2 kB / 483.4 MB, free: 76 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004022/0.4519, allocations: 2.165 MB / 485.6 MB, free: 75.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/0.4519, allocations: 15.22 kB / 485.6 MB, free: 75.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.679e-05/0.4519, allocations: 7.484 kB / 485.6 MB, free: 75.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-05/0.4519, allocations: 6.609 kB / 485.6 MB, free: 75.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006861/0.4588, allocations: 4.347 MB / 489.9 MB, free: 73.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.4588, allocations: 1.25 kB / 489.9 MB, free: 73.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007375/0.4595, allocations: 181.9 kB / 490.1 MB, free: 73.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001155/0.4607, allocations: 0.5072 MB / 490.6 MB, free: 72.97 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.635e-05/0.4608, allocations: 34.48 kB / 490.6 MB, free: 72.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007783/0.4685, allocations: 10.8 MB / 0.4897 GB, free: 64.28 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4685, allocations: 7.781 kB / 0.4897 GB, free: 64.28 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00399/0.4725, allocations: 3.08 MB / 0.4927 GB, free: 62.96 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007395/0.4733, allocations: 348.2 kB / 0.493 GB, free: 62.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001965/0.4735, allocations: 35.75 kB / 0.4931 GB, free: 62.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007906/0.4743, allocations: 62.31 kB / 0.4931 GB, free: 62.76 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000209/0.4745, allocations: 112.5 kB / 0.4932 GB, free: 62.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-05/0.4745, allocations: 39.36 kB / 0.4933 GB, free: 62.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001293/0.4758, allocations: 1.163 MB / 0.4944 GB, free: 62.17 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4758, allocations: 0 / 0.4944 GB, free: 62.17 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001808/0.4776, allocations: 0.5865 MB / 0.495 GB, free: 61.59 MB / 430.1 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.001656/0.4793, allocations: 0.4967 MB / 0.4955 GB, free: 61.28 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002615/0.4819, allocations: 2.087 MB / 0.4975 GB, free: 59.29 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4819, allocations: 0.5 kB / 0.4975 GB, free: 59.29 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001787/0.4837, allocations: 1.56 MB / 0.499 GB, free: 57.66 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/0.4854, allocations: 453.5 kB / 0.4995 GB, free: 57.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007095/0.4925, allocations: 5.901 MB / 0.5052 GB, free: 51.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001383/0.4939, allocations: 1.806 MB / 0.507 GB, free: 49.48 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00103/0.4949, allocations: 383.5 kB / 0.5074 GB, free: 49.1 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002816/0.4952, allocations: 124.5 kB / 0.5075 GB, free: 48.98 MB / 430.1 MB Notification: Performance of SimCode: time 7.22e-07/0.4952, allocations: 0 / 0.5075 GB, free: 48.98 MB / 430.1 MB Notification: Performance of Templates: time 0.03878/0.534, allocations: 28.36 MB / 0.5352 GB, free: 20.98 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 9.418311221059412]