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.0008052/0.0008052, allocations: 84 kB / 21.43 MB, free: 3.129 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.003473/0.003473, allocations: 144.8 kB / 24.68 MB, free: 8.918 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.8218/0.8218, allocations: 173.4 MB / 201.2 MB, free: 9.43 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.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.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.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.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 319.7 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.94e-05, allocations: 2.281 kB / 319.7 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.008958/0.008978, allocations: 11.8 MB / 331.5 MB, free: 9.969 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005954/0.01493, allocations: 4.594 MB / 336.1 MB, free: 5.359 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009227/0.01585, allocations: 103.4 kB / 336.2 MB, free: 5.258 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00169/0.01754, allocations: 1.095 MB / 337.3 MB, free: 4.156 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001888/0.01943, allocations: 1.456 MB / 338.8 MB, free: 2.691 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.02061, allocations: 0.9638 MB / 339.7 MB, free: 1.734 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002404/0.02301, allocations: 4.244 MB / 344 MB, free: 13.46 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001434/0.02444, allocations: 1.746 MB / 345.7 MB, free: 11.64 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002055/0.0265, allocations: 2.858 MB / 348.6 MB, free: 8.781 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001482/0.02798, allocations: 1.847 MB / 350.4 MB, free: 6.93 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003465/0.02833, allocations: 0.5039 MB / 350.9 MB, free: 6.426 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007682/0.0291, allocations: 0.7378 MB / 351.7 MB, free: 5.688 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005932/0.02969, allocations: 1.176 MB / 352.8 MB, free: 4.508 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009198/0.03061, allocations: 1.442 MB / 354.3 MB, free: 3.062 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004081/0.03469, allocations: 6.868 MB / 361.1 MB, free: 12.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.03469, allocations: 3.938 kB / 361.2 MB, free: 12.17 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.03469, allocations: 0 / 361.2 MB, free: 12.17 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.446e-05/0.03473, allocations: 0 / 361.2 MB, free: 12.17 MB / 330.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.005437/0.04017, allocations: 4.47 MB / 365.6 MB, free: 7.641 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.0402, allocations: 8.922 kB / 365.6 MB, free: 7.633 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001968/0.04216, allocations: 0.8378 MB / 366.5 MB, free: 6.793 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002403/0.04457, allocations: 2.385 MB / 368.9 MB, free: 4.359 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.04468, allocations: 254.2 kB / 369.1 MB, free: 4.109 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003031/0.04498, allocations: 323.9 kB / 369.4 MB, free: 3.793 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004319/0.0493, allocations: 4.435 MB / 373.9 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.818e-05/0.04935, allocations: 7.953 kB / 373.9 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002037/0.04956, allocations: 132 kB / 374 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.224e-05/0.04965, allocations: 154.4 kB / 374.1 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003648/0.0533, allocations: 3.625 MB / 377.8 MB, free: 11.35 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0104/0.06369, allocations: 11.36 MB / 389.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002916/0.06661, allocations: 2.645 MB / 391.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001256/0.06787, allocations: 1.247 MB / 393 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003536/0.0714, allocations: 3.206 MB / 396.2 MB, free: 8.695 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008791/0.07228, allocations: 1.012 MB / 397.2 MB, free: 7.609 MB / 362.7 MB Notification: Performance of pre-optimization done (n=132): time 2.144e-06/0.07228, allocations: 0 / 397.2 MB, free: 7.609 MB / 362.7 MB Notification: Performance of matching and sorting (n=140): time 0.007029/0.07931, allocations: 5.939 MB / 403.2 MB, free: 1.617 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.689e-05/0.0794, allocations: 226.9 kB / 403.4 MB, free: 1.344 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/0.08088, allocations: 1.692 MB / 405.1 MB, free: 15.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.507e-05/0.08093, allocations: 45.7 kB / 405.1 MB, free: 15.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008247/0.08176, allocations: 1.524 MB / 406.7 MB, free: 14.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/0.082, allocations: 0.4958 MB / 407.1 MB, free: 13.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002846/0.08229, allocations: 315.4 kB / 407.5 MB, free: 13.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.856e-05/0.08236, allocations: 305.1 kB / 407.8 MB, free: 12.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006717/0.08303, allocations: 0.6637 MB / 408.4 MB, free: 12.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009652/0.08399, allocations: 1.396 MB / 409.8 MB, free: 10.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/0.0856, allocations: 1.935 MB / 411.8 MB, free: 8.473 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.08561, allocations: 4 kB / 411.8 MB, free: 8.469 MB / 378.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.002239/0.08785, allocations: 2.342 MB / 414.1 MB, free: 6.105 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.08787, allocations: 8 kB / 414.1 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.08788, allocations: 19.94 kB / 414.1 MB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004124/0.08829, allocations: 291.5 kB / 414.4 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007072/0.089, allocations: 383.3 kB / 414.8 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003612/0.09261, allocations: 5.928 MB / 420.7 MB, free: 15.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005657/0.09318, allocations: 96.11 kB / 420.8 MB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.533e-05/0.09325, allocations: 71.98 kB / 420.9 MB, free: 15.01 MB / 394.7 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 (196): * Single equations (assignments): 192 * 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.00118/0.09443, allocations: 1.036 MB / 421.9 MB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.09459, allocations: 190.7 kB / 422.1 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002266/0.09686, allocations: 2.09 MB / 424.2 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.09687, allocations: 12 kB / 424.2 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.09688, allocations: 8 kB / 424.2 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.09689, allocations: 7.969 kB / 424.2 MB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005876/0.1028, allocations: 4.224 MB / 428.4 MB, free: 7.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.1028, allocations: 0 / 428.4 MB, free: 7.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006122/0.1034, allocations: 187.8 kB / 428.6 MB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009469/0.1043, allocations: 466.8 kB / 429.1 MB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.054e-05/0.1044, allocations: 35.98 kB / 429.1 MB, free: 6.652 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007826/0.1122, allocations: 10.38 MB / 439.5 MB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.1122, allocations: 7.969 kB / 439.5 MB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002895/0.1151, allocations: 2.964 MB / 442.5 MB, free: 8.746 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004625/0.1156, allocations: 346.6 kB / 442.8 MB, free: 8.406 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.1157, allocations: 35.94 kB / 442.8 MB, free: 8.371 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003962/0.1161, allocations: 63.95 kB / 442.9 MB, free: 8.309 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.1163, allocations: 109.1 kB / 443 MB, free: 8.199 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.031e-05/0.1163, allocations: 39.98 kB / 443 MB, free: 8.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001053/0.1174, allocations: 1.141 MB / 444.2 MB, free: 7.023 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1174, allocations: 4 kB / 444.2 MB, free: 7.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001333/0.1187, allocations: 0.5742 MB / 444.8 MB, free: 6.445 MB / 410.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.0008355/0.1195, allocations: 0.4987 MB / 445.3 MB, free: 6.121 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002025/0.1216, allocations: 2.03 MB / 447.3 MB, free: 4.051 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1216, allocations: 0 / 447.3 MB, free: 4.051 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.1228, allocations: 1.528 MB / 448.8 MB, free: 2.457 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.1238, allocations: 454.4 kB / 449.3 MB, free: 2.023 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1278/0.2516, allocations: 5.654 MB / 454.9 MB, free: 118.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/0.2527, allocations: 1.751 MB / 456.7 MB, free: 117.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003799/0.2531, allocations: 141.7 kB / 456.8 MB, free: 117.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.2531, allocations: 0 / 456.8 MB, free: 117.9 MB / 410.7 MB Notification: Performance of Templates: time 0.06104/0.3142, allocations: 114 MB / 0.5575 GB, free: 8.488 MB / 410.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 9.956861669197679]