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.001358/0.001358, allocations: 77.97 kB / 21.42 MB, free: 3.07 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.001415/0.001415, allocations: 167.7 kB / 24.82 MB, free: 8.938 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.9567/0.9567, allocations: 177.2 MB / 205.3 MB, free: 5.504 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 2.154e-06/2.154e-06, allocations: 4 kB / 273.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.7e-05, allocations: 9.062 kB / 273.4 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01054/0.01056, allocations: 13.48 MB / 286.9 MB, free: 3.738 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1059/0.1165, allocations: 5.064 MB / 292 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001931/0.1184, allocations: 101.1 kB / 292.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002114/0.1205, allocations: 1.124 MB / 293.2 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003198/0.1237, allocations: 1.464 MB / 294.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002349/0.126, allocations: 0.99 MB / 295.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004799/0.1308, allocations: 4.317 MB / 300 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002251/0.1331, allocations: 1.755 MB / 301.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003993/0.1371, allocations: 2.999 MB / 304.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00276/0.1398, allocations: 2.004 MB / 306.7 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001224/0.1411, allocations: 0.5062 MB / 307.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002014/0.1431, allocations: 0.7568 MB / 308 MB, free: 10.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006846/0.1438, allocations: 1.185 MB / 309.2 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001671/0.1454, allocations: 1.449 MB / 310.6 MB, free: 9.293 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003163/0.1486, allocations: 3.535 MB / 314.1 MB, free: 6.715 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1486, allocations: 0 / 314.1 MB, free: 6.715 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1486, allocations: 0 / 314.1 MB, free: 6.715 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.974e-05/0.1487, allocations: 0 / 314.1 MB, free: 6.715 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.005265/0.154, allocations: 4.642 MB / 318.8 MB, free: 2.219 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.154, allocations: 8.031 kB / 318.8 MB, free: 2.211 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002389/0.1564, allocations: 1.166 MB / 320 MB, free: 1.047 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002511/0.1589, allocations: 2.261 MB / 322.2 MB, free: 14.85 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/0.159, allocations: 238.4 kB / 322.5 MB, free: 14.61 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003362/0.1594, allocations: 322.8 kB / 322.8 MB, free: 14.3 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002915/0.1623, allocations: 2.38 MB / 325.2 MB, free: 11.97 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.715e-05/0.1623, allocations: 3.953 kB / 325.2 MB, free: 11.97 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002001/0.1625, allocations: 137.3 kB / 325.3 MB, free: 11.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001075/0.1627, allocations: 150.4 kB / 325.4 MB, free: 11.69 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/0.1641, allocations: 0.9486 MB / 326.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01099/0.1751, allocations: 10.49 MB / 336.9 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002281/0.1773, allocations: 1.9 MB / 338.8 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/0.1785, allocations: 0.9076 MB / 339.7 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003104/0.1816, allocations: 2.583 MB / 342.3 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005927/0.1822, allocations: 0.6727 MB / 342.9 MB, free: 10.83 MB / 298.7 MB Notification: Performance of pre-optimization done (n=132): time 2.975e-06/0.1822, allocations: 0 / 342.9 MB, free: 10.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=140): time 0.005134/0.1873, allocations: 3.438 MB / 346.4 MB, free: 7.391 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.479e-05/0.1874, allocations: 222.9 kB / 346.6 MB, free: 7.125 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.1885, allocations: 1.445 MB / 348 MB, free: 5.891 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.901e-05/0.1886, allocations: 53.7 kB / 348.1 MB, free: 5.832 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008993/0.1895, allocations: 1.629 MB / 349.7 MB, free: 4.258 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002729/0.1897, allocations: 0.517 MB / 350.2 MB, free: 3.773 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003186/0.1901, allocations: 337.9 kB / 350.6 MB, free: 3.469 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.1902, allocations: 480.8 kB / 351 MB, free: 2.996 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002604/0.1904, allocations: 199.8 kB / 351.2 MB, free: 2.801 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006501/0.1911, allocations: 1.134 MB / 352.4 MB, free: 1.348 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009838/0.1921, allocations: 1.239 MB / 353.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.1921, allocations: 4 kB / 353.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=221) (initialization): time 0.001622/0.1937, allocations: 1.455 MB / 355.1 MB, free: 14.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.1937, allocations: 16.06 kB / 355.1 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.1937, allocations: 16 kB / 355.1 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005045/0.1942, allocations: 273.6 kB / 355.4 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007062/0.1949, allocations: 367.4 kB / 355.7 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003411/0.1983, allocations: 6.739 MB / 362.5 MB, free: 6.703 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007105/0.1991, allocations: 84.02 kB / 362.5 MB, free: 6.621 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.416e-05/0.1991, allocations: 56 kB / 362.6 MB, free: 6.566 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.0006237/0.1998, allocations: 274.1 kB / 362.9 MB, free: 6.289 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002215/0.2, allocations: 238.7 kB / 363.1 MB, free: 6.055 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.2015, allocations: 1.267 MB / 364.4 MB, free: 4.758 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.2015, allocations: 12 kB / 364.4 MB, free: 4.746 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.2016, allocations: 8 kB / 364.4 MB, free: 4.738 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.2016, allocations: 7.969 kB / 364.4 MB, free: 4.73 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00353/0.2051, allocations: 2.982 MB / 367.4 MB, free: 1.906 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.2051, allocations: 7.938 kB / 367.4 MB, free: 1.898 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003898/0.2055, allocations: 167.8 kB / 367.5 MB, free: 1.734 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007523/0.2062, allocations: 428.3 kB / 368 MB, free: 1.305 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.114e-05/0.2063, allocations: 35.98 kB / 368 MB, free: 1.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005478/0.2118, allocations: 11.49 MB / 379.5 MB, free: 5.312 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2118, allocations: 64 / 379.5 MB, free: 5.312 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/0.2138, allocations: 1.652 MB / 381.1 MB, free: 3.633 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004397/0.2142, allocations: 318.6 kB / 381.5 MB, free: 3.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.2143, allocations: 32 kB / 381.5 MB, free: 3.289 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003826/0.2147, allocations: 55.97 kB / 381.5 MB, free: 3.234 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.2149, allocations: 113 kB / 381.7 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.874e-05/0.2149, allocations: 31.98 kB / 381.7 MB, free: 3.094 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006595/0.2156, allocations: 0.7739 MB / 382.5 MB, free: 2.398 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2156, allocations: 0 / 382.5 MB, free: 2.398 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001449/0.217, allocations: 0.5897 MB / 383 MB, free: 1.809 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.0009252/0.218, allocations: 451.8 kB / 383.5 MB, free: 1.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001488/0.2194, allocations: 1.499 MB / 385 MB, free: 15.98 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.2194, allocations: 4 kB / 385 MB, free: 15.98 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001141/0.2206, allocations: 1.511 MB / 386.5 MB, free: 14.4 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.2217, allocations: 482.7 kB / 387 MB, free: 13.94 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005841/0.2275, allocations: 5.037 MB / 392 MB, free: 8.855 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006418/0.2282, allocations: 0.8082 MB / 392.8 MB, free: 8.027 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006059/0.2288, allocations: 259.5 kB / 393.1 MB, free: 7.773 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007065/0.2295, allocations: 0.5096 MB / 393.6 MB, free: 7.262 MB / 346.7 MB Notification: Performance of SimCode: time 9.22e-07/0.2295, allocations: 0 / 393.6 MB, free: 7.262 MB / 346.7 MB Notification: Performance of Templates: time 0.04738/0.2768, allocations: 30.01 MB / 423.6 MB, free: 9.754 MB / 378.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: 6.027609685435891]