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.001488/0.001488, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 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.001659/0.001659, allocations: 169.3 kB / 24.82 MB, free: 8.918 MB / 18.57 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 0.9294/0.9294, allocations: 177 MB / 205.1 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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=20000,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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 273.4 MB, free: 1.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.966e-05/2.113e-05, allocations: 2.312 kB / 273.4 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01258/0.0126, allocations: 13.49 MB / 286.8 MB, free: 3.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1136/0.1262, allocations: 5.067 MB / 291.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00222/0.1284, allocations: 106.2 kB / 292 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002343/0.1308, allocations: 1.121 MB / 293.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003052/0.1338, allocations: 1.474 MB / 294.6 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.1356, allocations: 0.9863 MB / 295.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003602/0.1392, allocations: 4.322 MB / 299.9 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002031/0.1412, allocations: 1.753 MB / 301.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003233/0.1444, allocations: 3.003 MB / 304.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002433/0.1469, allocations: 2.007 MB / 306.7 MB, free: 11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009549/0.1478, allocations: 0.5035 MB / 307.2 MB, free: 11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.149, allocations: 0.7559 MB / 307.9 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005824/0.1496, allocations: 1.177 MB / 309.1 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001028/0.1506, allocations: 1.456 MB / 310.6 MB, free: 9.223 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002392/0.153, allocations: 3.537 MB / 314.1 MB, free: 6.621 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.153, allocations: 7.938 kB / 314.1 MB, free: 6.613 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.153, allocations: 4 kB / 314.1 MB, free: 6.609 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.374e-05/0.1531, allocations: 0 / 314.1 MB, free: 6.609 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.004842/0.1579, allocations: 4.626 MB / 318.8 MB, free: 2.129 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.158, allocations: 15.98 kB / 318.8 MB, free: 2.113 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002397/0.1604, allocations: 1.168 MB / 319.9 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002183/0.1625, allocations: 2.279 MB / 322.2 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/0.1627, allocations: 244.3 kB / 322.5 MB, free: 14.49 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003193/0.163, allocations: 326.8 kB / 322.8 MB, free: 14.18 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002637/0.1656, allocations: 2.37 MB / 325.1 MB, free: 11.85 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.2e-05/0.1657, allocations: 11.08 kB / 325.2 MB, free: 11.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002155/0.1659, allocations: 133.5 kB / 325.3 MB, free: 11.72 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001061/0.166, allocations: 150.4 kB / 325.4 MB, free: 11.57 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001421/0.1674, allocations: 0.9446 MB / 326.4 MB, free: 10.62 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01023/0.1777, allocations: 10.49 MB / 336.9 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002305/0.18, allocations: 1.897 MB / 338.8 MB, free: 14.85 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.181, allocations: 0.9151 MB / 339.7 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002858/0.1839, allocations: 2.588 MB / 342.3 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000567/0.1845, allocations: 0.6666 MB / 342.9 MB, free: 10.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=132): time 2.355e-06/0.1845, allocations: 0 / 342.9 MB, free: 10.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=140): time 0.004833/0.1893, allocations: 3.439 MB / 346.4 MB, free: 7.289 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.848e-05/0.1894, allocations: 218.9 kB / 346.6 MB, free: 7.027 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.1905, allocations: 1.458 MB / 348 MB, free: 5.781 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.955e-05/0.1905, allocations: 45.7 kB / 348.1 MB, free: 5.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008517/0.1914, allocations: 1.634 MB / 349.7 MB, free: 4.152 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002629/0.1916, allocations: 0.5178 MB / 350.2 MB, free: 3.664 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003169/0.192, allocations: 342.9 kB / 350.6 MB, free: 3.359 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.416e-05/0.192, allocations: 476.8 kB / 351 MB, free: 2.891 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000257/0.1923, allocations: 191.8 kB / 351.2 MB, free: 2.703 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009495/0.1933, allocations: 1.135 MB / 352.4 MB, free: 1.242 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000958/0.1942, allocations: 1.25 MB / 353.6 MB, free: 15.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.1942, allocations: 4 kB / 353.6 MB, free: 15.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=221) (initialization): time 0.001533/0.1957, allocations: 1.455 MB / 355.1 MB, free: 14.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.1958, allocations: 12 kB / 355.1 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.1958, allocations: 12 kB / 355.1 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004802/0.1963, allocations: 291.9 kB / 355.4 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006817/0.1969, allocations: 363.4 kB / 355.7 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003444/0.2004, allocations: 6.73 MB / 362.5 MB, free: 6.574 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005156/0.2009, allocations: 75.94 kB / 362.5 MB, free: 6.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.248e-05/0.201, allocations: 64.05 kB / 362.6 MB, free: 6.438 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.0004273/0.2014, allocations: 274.6 kB / 362.9 MB, free: 6.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001978/0.2016, allocations: 238.8 kB / 363.1 MB, free: 5.926 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/0.2031, allocations: 1.268 MB / 364.4 MB, free: 4.633 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.2031, allocations: 16 kB / 364.4 MB, free: 4.617 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.2031, allocations: 8 kB / 364.4 MB, free: 4.609 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.2031, allocations: 7.969 kB / 364.4 MB, free: 4.602 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00351/0.2066, allocations: 2.971 MB / 367.4 MB, free: 1.789 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.2066, allocations: 0 / 367.4 MB, free: 1.789 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003869/0.207, allocations: 175.7 kB / 367.5 MB, free: 1.617 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007447/0.2078, allocations: 429.3 kB / 368 MB, free: 1.188 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.143e-05/0.2078, allocations: 43.97 kB / 368 MB, free: 1.145 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005584/0.2134, allocations: 11.49 MB / 379.5 MB, free: 5.188 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2134, allocations: 3.938 kB / 379.5 MB, free: 5.184 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002025/0.2154, allocations: 1.661 MB / 381.2 MB, free: 3.492 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003655/0.2158, allocations: 310.6 kB / 381.5 MB, free: 3.188 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.2159, allocations: 36 kB / 381.5 MB, free: 3.152 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000375/0.2163, allocations: 47.98 kB / 381.6 MB, free: 3.105 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.2164, allocations: 117 kB / 381.7 MB, free: 2.992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.072e-05/0.2165, allocations: 27.98 kB / 381.7 MB, free: 2.965 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005765/0.2171, allocations: 0.778 MB / 382.5 MB, free: 2.266 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2171, allocations: 0 / 382.5 MB, free: 2.266 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001262/0.2183, allocations: 0.5897 MB / 383.1 MB, free: 1.676 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.0009387/0.2193, allocations: 449.8 kB / 383.5 MB, free: 1.383 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001409/0.2207, allocations: 1.496 MB / 385 MB, free: 15.86 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2207, allocations: 0 / 385 MB, free: 15.86 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.2217, allocations: 1.526 MB / 386.5 MB, free: 14.26 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.2228, allocations: 471.9 kB / 387 MB, free: 13.8 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005465/0.2282, allocations: 5.038 MB / 392 MB, free: 8.723 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006026/0.2288, allocations: 0.8199 MB / 392.8 MB, free: 7.883 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005505/0.2294, allocations: 259.7 kB / 393.1 MB, free: 7.625 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007147/0.2301, allocations: 0.5018 MB / 393.6 MB, free: 7.121 MB / 346.7 MB Notification: Performance of SimCode: time 6.51e-07/0.2301, allocations: 0 / 393.6 MB, free: 7.121 MB / 346.7 MB Notification: Performance of Templates: time 0.03733/0.2674, allocations: 30.04 MB / 423.6 MB, free: 9.523 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.417425654362887]