Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009772/0.0009772, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008855/0.0008855, allocations: 142.1 kB / 24.89 MB, free: 8.777 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9311/0.9311, allocations: 173.4 MB / 201.5 MB, free: 8.75 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 3.938 kB / 268.5 MB, free: 6.012 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.434e-05/1.545e-05, allocations: 2.312 kB / 268.5 MB, free: 6.008 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01007/0.01009, allocations: 12.91 MB / 281.4 MB, free: 9.031 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007255/0.01734, allocations: 4.901 MB / 286.3 MB, free: 4.113 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.01843, allocations: 99.44 kB / 286.4 MB, free: 4.016 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001886/0.02031, allocations: 1.122 MB / 287.5 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002208/0.02252, allocations: 1.463 MB / 289 MB, free: 1.414 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.02383, allocations: 0.9778 MB / 290 MB, free: 444 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.11/0.1339, allocations: 4.237 MB / 294.2 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002569/0.1364, allocations: 1.803 MB / 296 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004186/0.1406, allocations: 2.976 MB / 299 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003136/0.1438, allocations: 1.995 MB / 301 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001436/0.1452, allocations: 0.5022 MB / 301.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.1466, allocations: 0.7323 MB / 302.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007084/0.1473, allocations: 1.174 MB / 303.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00128/0.1486, allocations: 1.449 MB / 304.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002784/0.1514, allocations: 3.504 MB / 308.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1514, allocations: 1.938 kB / 308.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1514, allocations: 0 / 308.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.35e-05/0.1514, allocations: 6.344 kB / 308.3 MB, free: 11.77 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.004422/0.1558, allocations: 4.339 MB / 312.7 MB, free: 9.574 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.1559, allocations: 10.8 kB / 312.7 MB, free: 9.574 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002289/0.1582, allocations: 1.116 MB / 313.8 MB, free: 8.918 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001693/0.1599, allocations: 1.496 MB / 315.3 MB, free: 7.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.16, allocations: 238.4 kB / 315.5 MB, free: 7.285 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003342/0.1603, allocations: 330.9 kB / 315.9 MB, free: 6.969 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002071/0.1624, allocations: 2.423 MB / 318.3 MB, free: 4.594 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.163e-05/0.1624, allocations: 14.2 kB / 318.3 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001877/0.1626, allocations: 128 kB / 318.4 MB, free: 4.461 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.951e-05/0.1627, allocations: 154.4 kB / 318.6 MB, free: 4.309 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/0.1641, allocations: 0.9429 MB / 319.5 MB, free: 3.355 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008059/0.1722, allocations: 8.207 MB / 327.7 MB, free: 11.51 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002035/0.1742, allocations: 1.721 MB / 329.4 MB, free: 9.848 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006352/0.1748, allocations: 0.5792 MB / 330 MB, free: 9.293 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002561/0.1774, allocations: 1.858 MB / 331.9 MB, free: 7.496 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005113/0.1779, allocations: 0.6357 MB / 332.5 MB, free: 6.832 MB / 282.7 MB Notification: Performance of pre-optimization done (n=132): time 2.224e-06/0.1779, allocations: 0 / 332.5 MB, free: 6.832 MB / 282.7 MB Notification: Performance of matching and sorting (n=140): time 0.004277/0.1822, allocations: 3.04 MB / 335.6 MB, free: 3.805 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/0.1823, allocations: 225.5 kB / 335.8 MB, free: 3.535 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009376/0.1832, allocations: 1.304 MB / 337.1 MB, free: 2.441 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.101e-05/0.1833, allocations: 53.7 kB / 337.1 MB, free: 2.383 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005974/0.1839, allocations: 1.28 MB / 338.4 MB, free: 1.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002327/0.1841, allocations: 0.4986 MB / 338.9 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002655/0.1844, allocations: 300 kB / 339.2 MB, free: 440 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.626e-05/0.1844, allocations: 301.1 kB / 339.5 MB, free: 136 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/0.1847, allocations: 194.7 kB / 339.7 MB, free: 15.94 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004813/0.1851, allocations: 0.8763 MB / 340.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007891/0.1859, allocations: 1.039 MB / 341.6 MB, free: 13.7 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.1859, allocations: 8 kB / 341.6 MB, free: 13.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=221) (initialization): time 0.001357/0.1873, allocations: 1.107 MB / 342.7 MB, free: 12.67 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.1873, allocations: 19.25 kB / 342.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.1873, allocations: 16 kB / 342.8 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003951/0.1877, allocations: 233.8 kB / 343 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006613/0.1884, allocations: 366.3 kB / 343.3 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002381/0.1908, allocations: 4.704 MB / 348 MB, free: 7.172 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004667/0.1912, allocations: 80.02 kB / 348.1 MB, free: 7.094 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.966e-05/0.1913, allocations: 63.94 kB / 348.2 MB, free: 7.031 MB / 298.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 (198): * Single equations (assignments): 194 * 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,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003751/0.1917, allocations: 226.3 kB / 348.4 MB, free: 6.824 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.1918, allocations: 151.8 kB / 348.6 MB, free: 6.676 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.1931, allocations: 1.023 MB / 349.6 MB, free: 5.652 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.1932, allocations: 16 kB / 349.6 MB, free: 5.637 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.1932, allocations: 11.88 kB / 349.6 MB, free: 5.625 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.1932, allocations: 7.969 kB / 349.6 MB, free: 5.617 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002426/0.1956, allocations: 2.203 MB / 351.8 MB, free: 3.629 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.1956, allocations: 4.188 kB / 351.8 MB, free: 3.625 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000377/0.196, allocations: 170.3 kB / 352 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006231/0.1966, allocations: 366.5 kB / 352.3 MB, free: 3.105 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.757e-05/0.1967, allocations: 39.98 kB / 352.4 MB, free: 3.066 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004142/0.2008, allocations: 8.194 MB / 360.6 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2008, allocations: 3.984 kB / 360.6 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.2022, allocations: 1.323 MB / 361.9 MB, free: 9.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003004/0.2025, allocations: 202.6 kB / 362.1 MB, free: 9.031 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.2026, allocations: 35.98 kB / 362.1 MB, free: 8.996 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003416/0.203, allocations: 51.98 kB / 362.2 MB, free: 8.945 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.2031, allocations: 112.5 kB / 362.3 MB, free: 8.836 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.474e-05/0.2031, allocations: 32.05 kB / 362.3 MB, free: 8.805 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007069/0.2038, allocations: 0.5896 MB / 362.9 MB, free: 8.285 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.2038, allocations: 0 / 362.9 MB, free: 8.285 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001751/0.2056, allocations: 0.5742 MB / 363.5 MB, free: 7.711 MB / 314.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 (103): * Single equations (assignments): 96 * 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,5,100.0%), (1,13,100.0%), (1,3,100.0%), (1,8,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.001294/0.2069, allocations: 0.5755 MB / 364.1 MB, free: 7.395 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001521/0.2084, allocations: 1.214 MB / 365.3 MB, free: 6.219 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.633e-05/0.2084, allocations: 23.81 kB / 365.3 MB, free: 6.199 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.2095, allocations: 1.172 MB / 366.5 MB, free: 5.004 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.2108, allocations: 450.5 kB / 366.9 MB, free: 4.566 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006555/0.2174, allocations: 4.865 MB / 371.8 MB, free: 15.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005955/0.218, allocations: 0.6514 MB / 372.4 MB, free: 15 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007005/0.2187, allocations: 247.5 kB / 372.7 MB, free: 14.76 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006822/0.2193, allocations: 455.1 kB / 373.1 MB, free: 14.3 MB / 330.7 MB Notification: Performance of SimCode: time 1.844e-06/0.2193, allocations: 3.938 kB / 373.1 MB, free: 14.3 MB / 330.7 MB Notification: Performance of Templates: time 0.04039/0.2597, allocations: 29.22 MB / 402.3 MB, free: 1.625 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.101392001844943]