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.001402/0.001402, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001546/0.001546, allocations: 161.6 kB / 24.27 MB, free: 172 kB / 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 1.523/1.523, allocations: 177.2 MB / 204.6 MB, free: 5.586 MB / 186.7 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 2.014e-06/2.014e-06, allocations: 0 / 272.3 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.74e-05/2.942e-05, allocations: 2.312 kB / 272.3 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01854/0.01857, allocations: 12.36 MB / 284.7 MB, free: 5.375 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01099/0.02956, allocations: 4.961 MB / 289.7 MB, free: 408 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002256/0.03181, allocations: 103.4 kB / 289.8 MB, free: 304 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1207/0.1525, allocations: 1.106 MB / 290.9 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004236/0.1567, allocations: 1.47 MB / 292.3 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002413/0.1591, allocations: 0.9676 MB / 293.3 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005823/0.165, allocations: 4.318 MB / 297.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00274/0.1677, allocations: 1.747 MB / 299.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004988/0.1727, allocations: 2.882 MB / 302.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00303/0.1757, allocations: 1.85 MB / 304.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008957/0.1766, allocations: 0.5078 MB / 304.6 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001731/0.1783, allocations: 0.7606 MB / 305.4 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00076/0.1791, allocations: 1.176 MB / 306.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001757/0.1809, allocations: 1.454 MB / 308 MB, free: 9.754 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005357/0.1862, allocations: 6.911 MB / 314.9 MB, free: 4.473 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1862, allocations: 3.938 kB / 314.9 MB, free: 4.469 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1862, allocations: 0 / 314.9 MB, free: 4.469 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001088/0.1863, allocations: 0.5 kB / 314.9 MB, free: 4.469 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.009156/0.1955, allocations: 4.499 MB / 319.4 MB, free: 15.94 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.1955, allocations: 8.031 kB / 319.4 MB, free: 15.93 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005204/0.2007, allocations: 1.253 MB / 320.7 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004829/0.2056, allocations: 2.516 MB / 323.2 MB, free: 12.23 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002577/0.2058, allocations: 249.7 kB / 323.4 MB, free: 11.99 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005717/0.2064, allocations: 327.4 kB / 323.8 MB, free: 11.67 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008785/0.2152, allocations: 4.442 MB / 328.2 MB, free: 7.148 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.567e-05/0.2152, allocations: 7.422 kB / 328.2 MB, free: 7.145 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003536/0.2156, allocations: 132.9 kB / 328.3 MB, free: 7.02 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002023/0.2158, allocations: 154.4 kB / 328.5 MB, free: 6.867 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007122/0.2229, allocations: 3.624 MB / 332.1 MB, free: 3.238 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02209/0.245, allocations: 11.63 MB / 343.7 MB, free: 7.629 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005918/0.2509, allocations: 2.713 MB / 346.4 MB, free: 5.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003245/0.2542, allocations: 1.537 MB / 348 MB, free: 3.543 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007884/0.2621, allocations: 3.479 MB / 351.5 MB, free: 88 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001719/0.2638, allocations: 1.019 MB / 352.5 MB, free: 15 MB / 314.7 MB Notification: Performance of pre-optimization done (n=132): time 3.026e-06/0.2638, allocations: 0 / 352.5 MB, free: 15 MB / 314.7 MB Notification: Performance of matching and sorting (n=140): time 0.01453/0.2783, allocations: 6.189 MB / 358.7 MB, free: 8.797 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001663/0.2785, allocations: 230.9 kB / 358.9 MB, free: 8.523 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002717/0.2812, allocations: 1.718 MB / 360.6 MB, free: 6.797 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001054/0.2813, allocations: 57.69 kB / 360.7 MB, free: 6.734 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001627/0.2829, allocations: 1.534 MB / 362.2 MB, free: 5.191 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005028/0.2834, allocations: 0.5 MB / 362.7 MB, free: 4.699 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005535/0.284, allocations: 307.5 kB / 363 MB, free: 4.395 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.2841, allocations: 305.1 kB / 363.3 MB, free: 4.094 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/0.2854, allocations: 0.6715 MB / 364 MB, free: 3.422 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002079/0.2875, allocations: 1.408 MB / 365.4 MB, free: 1.754 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003177/0.2907, allocations: 1.972 MB / 367.4 MB, free: 15.64 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/0.2907, allocations: 4 kB / 367.4 MB, free: 15.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004775/0.2954, allocations: 2.495 MB / 369.9 MB, free: 13.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/0.2955, allocations: 12 kB / 369.9 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.701e-05/0.2955, allocations: 16 kB / 369.9 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001224/0.2967, allocations: 396.2 kB / 370.3 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/0.2982, allocations: 371.9 kB / 370.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008026/0.3063, allocations: 6.392 MB / 377 MB, free: 5.816 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.3076, allocations: 91.91 kB / 377.1 MB, free: 5.727 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001588/0.3078, allocations: 71.98 kB / 377.2 MB, free: 5.656 MB / 330.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 (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.001926/0.3097, allocations: 1.038 MB / 378.2 MB, free: 4.633 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000583/0.3103, allocations: 238.8 kB / 378.5 MB, free: 4.398 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004656/0.3149, allocations: 2.168 MB / 380.6 MB, free: 2.223 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/0.315, allocations: 16 kB / 380.6 MB, free: 2.207 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-05/0.315, allocations: 4 kB / 380.6 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.315, allocations: 3.984 kB / 380.6 MB, free: 2.199 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008893/0.3239, allocations: 4.351 MB / 385 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.3239, allocations: 0 / 385 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008695/0.3248, allocations: 181.8 kB / 385.2 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002019/0.3268, allocations: 0.5816 MB / 385.8 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/0.3269, allocations: 35.98 kB / 385.8 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01395/0.3408, allocations: 10.86 MB / 396.6 MB, free: 1.762 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3409, allocations: 0 / 396.6 MB, free: 1.762 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006624/0.3475, allocations: 3.121 MB / 399.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/0.3487, allocations: 350.6 kB / 400.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000474/0.3492, allocations: 43.94 kB / 400.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.3503, allocations: 59.95 kB / 400.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003219/0.3506, allocations: 112.5 kB / 400.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.3507, allocations: 39.98 kB / 400.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002384/0.3531, allocations: 1.166 MB / 401.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3531, allocations: 0 / 401.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002511/0.3556, allocations: 0.5859 MB / 402.1 MB, free: 12.29 MB / 362.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.002235/0.3578, allocations: 0.4961 MB / 402.6 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004214/0.362, allocations: 2.088 MB / 404.7 MB, free: 9.926 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.362, allocations: 4 kB / 404.7 MB, free: 9.922 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002917/0.365, allocations: 1.552 MB / 406.3 MB, free: 8.328 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002698/0.3677, allocations: 483.8 kB / 406.7 MB, free: 7.863 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01287/0.3805, allocations: 5.802 MB / 412.5 MB, free: 2.016 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002877/0.3834, allocations: 1.814 MB / 414.3 MB, free: 172 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001643/0.3851, allocations: 383.5 kB / 414.7 MB, free: 15.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004883/0.3855, allocations: 128.5 kB / 414.8 MB, free: 15.66 MB / 378.7 MB Notification: Performance of SimCode: time 2.174e-06/0.3855, allocations: 0 / 414.8 MB, free: 15.66 MB / 378.7 MB Notification: Performance of Templates: time 0.1592/0.5447, allocations: 28.28 MB / 443.1 MB, free: 112.3 MB / 378.7 MB " [Timeout remaining time 659] 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.454556929995306]