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.00169/0.00169, allocations: 84.94 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002135/0.002135, allocations: 167.9 kB / 23.95 MB, free: 4.16 MB / 14.72 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 1.476/1.476, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] 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.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_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.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_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 325.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.527e-05, allocations: 5.375 kB / 325.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01662/0.01665, allocations: 12.36 MB / 337.5 MB, free: 7.914 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01145/0.0281, allocations: 4.949 MB / 342.4 MB, free: 3.785 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002975/0.03107, allocations: 99.38 kB / 342.5 MB, free: 3.688 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003667/0.03474, allocations: 1.114 MB / 343.6 MB, free: 2.562 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005382/0.04012, allocations: 1.466 MB / 345.1 MB, free: 1.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002834/0.04296, allocations: 0.9816 MB / 346.1 MB, free: 108 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006561/0.04952, allocations: 4.323 MB / 350.4 MB, free: 11.76 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003514/0.05303, allocations: 1.747 MB / 352.1 MB, free: 9.949 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005341/0.05837, allocations: 2.877 MB / 355 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003696/0.06207, allocations: 1.851 MB / 356.9 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009731/0.06304, allocations: 0.5078 MB / 357.4 MB, free: 4.703 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001859/0.0649, allocations: 0.7573 MB / 358.1 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001172/0.06607, allocations: 1.172 MB / 359.3 MB, free: 2.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002205/0.06828, allocations: 1.454 MB / 360.8 MB, free: 1.312 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008325/0.0766, allocations: 6.906 MB / 367.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.07661, allocations: 0 / 367.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.07661, allocations: 7.984 kB / 367.7 MB, free: 10.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.068e-05/0.0767, allocations: 0 / 367.7 MB, free: 10.38 MB / 334.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.01125/0.08795, allocations: 4.497 MB / 372.2 MB, free: 5.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.08799, allocations: 8.031 kB / 372.2 MB, free: 5.812 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00452/0.09251, allocations: 0.8261 MB / 373 MB, free: 4.984 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004561/0.09707, allocations: 2.416 MB / 375.4 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002111/0.09728, allocations: 246.3 kB / 375.7 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005308/0.09781, allocations: 319.9 kB / 376 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007772/0.1056, allocations: 4.443 MB / 380.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.119e-05/0.1057, allocations: 7.953 kB / 380.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003482/0.106, allocations: 132 kB / 380.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000165/0.1062, allocations: 150.4 kB / 380.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006712/0.1129, allocations: 3.633 MB / 384.3 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02096/0.1338, allocations: 11.39 MB / 395.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005747/0.1396, allocations: 2.711 MB / 398.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003186/0.1428, allocations: 1.519 MB / 399.9 MB, free: 9.707 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007038/0.1498, allocations: 3.447 MB / 403.4 MB, free: 6.227 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001563/0.1514, allocations: 1.031 MB / 404.4 MB, free: 5.125 MB / 366.1 MB Notification: Performance of pre-optimization done (n=132): time 3.437e-06/0.1514, allocations: 0 / 404.4 MB, free: 5.125 MB / 366.1 MB Notification: Performance of matching and sorting (n=140): time 0.01397/0.1653, allocations: 6.139 MB / 410.6 MB, free: 14.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001625/0.1655, allocations: 218.9 kB / 410.8 MB, free: 14.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00264/0.1682, allocations: 1.726 MB / 412.5 MB, free: 12.94 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001191/0.1683, allocations: 49.7 kB / 412.6 MB, free: 12.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00148/0.1698, allocations: 1.536 MB / 414.1 MB, free: 11.33 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004876/0.1702, allocations: 0.4997 MB / 414.6 MB, free: 10.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005197/0.1708, allocations: 311.5 kB / 414.9 MB, free: 10.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1709, allocations: 301.1 kB / 415.2 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.1721, allocations: 0.6754 MB / 415.9 MB, free: 9.547 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001822/0.1739, allocations: 1.408 MB / 417.3 MB, free: 7.871 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003048/0.177, allocations: 1.962 MB / 419.2 MB, free: 5.703 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.829e-06/0.177, allocations: 4 kB / 419.2 MB, free: 5.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004623/0.1816, allocations: 2.425 MB / 421.7 MB, free: 3.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.1816, allocations: 12 kB / 421.7 MB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/0.1817, allocations: 16 kB / 421.7 MB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009029/0.1826, allocations: 339.4 kB / 422 MB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.184, allocations: 375.4 kB / 422.4 MB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007355/0.1914, allocations: 6.349 MB / 428.7 MB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/0.1929, allocations: 91.84 kB / 428.8 MB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001461/0.193, allocations: 83.92 kB / 428.9 MB, free: 11.68 MB / 398.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.001828/0.1949, allocations: 1.032 MB / 429.9 MB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003362/0.1952, allocations: 194.7 kB / 430.1 MB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004392/0.1996, allocations: 2.161 MB / 432.3 MB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-05/0.1996, allocations: 19.98 kB / 432.3 MB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.61e-05/0.1996, allocations: 12 kB / 432.3 MB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/0.1996, allocations: 3.984 kB / 432.3 MB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008204/0.2079, allocations: 4.346 MB / 436.7 MB, free: 3.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.2079, allocations: 3.938 kB / 436.7 MB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008496/0.2087, allocations: 179.8 kB / 436.9 MB, free: 3.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001449/0.2102, allocations: 0.5039 MB / 437.4 MB, free: 3.117 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001184/0.2103, allocations: 39.98 kB / 437.4 MB, free: 3.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01261/0.2229, allocations: 10.8 MB / 448.2 MB, free: 7.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.2229, allocations: 4.031 kB / 448.2 MB, free: 7.766 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005699/0.2286, allocations: 3.066 MB / 451.3 MB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008666/0.2295, allocations: 354.5 kB / 451.6 MB, free: 4.301 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002524/0.2297, allocations: 32 kB / 451.6 MB, free: 4.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008667/0.2306, allocations: 59.95 kB / 451.7 MB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002778/0.2308, allocations: 113 kB / 451.8 MB, free: 4.102 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/0.231, allocations: 39.98 kB / 451.9 MB, free: 4.062 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00181/0.2328, allocations: 1.17 MB / 453 MB, free: 2.898 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2328, allocations: 0 / 453 MB, free: 2.898 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001993/0.2348, allocations: 0.582 MB / 453.6 MB, free: 2.316 MB / 414.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.001865/0.2366, allocations: 0.4975 MB / 454.1 MB, free: 1.996 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003714/0.2403, allocations: 2.084 MB / 456.2 MB, free: 15.87 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2403, allocations: 0 / 456.2 MB, free: 15.87 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002604/0.2429, allocations: 1.567 MB / 457.8 MB, free: 14.24 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/0.2451, allocations: 463.5 kB / 458.2 MB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009789/0.2549, allocations: 5.702 MB / 463.9 MB, free: 8.043 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002155/0.2571, allocations: 1.818 MB / 465.7 MB, free: 6.191 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001222/0.2583, allocations: 375.5 kB / 466.1 MB, free: 5.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000378/0.2587, allocations: 132.5 kB / 466.2 MB, free: 5.691 MB / 430.1 MB Notification: Performance of SimCode: time 1.142e-06/0.2587, allocations: 4 kB / 466.2 MB, free: 5.688 MB / 430.1 MB Notification: Performance of Templates: time 0.1886/0.4472, allocations: 28.16 MB / 494.4 MB, free: 116.6 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.355643428862095]