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.001372/0.001372, allocations: 92.62 kB / 20.96 MB, free: 3.473 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.001391/0.001391, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 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 1.412/1.412, allocations: 173.4 MB / 200.8 MB, free: 9.281 MB / 186.7 MB " [Timeout remaining time 178] 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 2.244e-06/2.244e-06, allocations: 0 / 267.3 MB, free: 6.68 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.817e-05/3.042e-05, allocations: 6.312 kB / 267.3 MB, free: 6.672 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.0293/0.02933, allocations: 11.83 MB / 279.2 MB, free: 10.78 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01709/0.04642, allocations: 4.591 MB / 283.8 MB, free: 6.176 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002808/0.04923, allocations: 95.44 kB / 283.9 MB, free: 6.082 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005668/0.0549, allocations: 1.103 MB / 285 MB, free: 4.973 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008028/0.06293, allocations: 1.444 MB / 286.4 MB, free: 3.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003934/0.06686, allocations: 0.9729 MB / 287.4 MB, free: 2.547 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1155/0.1823, allocations: 4.239 MB / 291.6 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002919/0.1852, allocations: 1.74 MB / 293.4 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004613/0.1899, allocations: 2.856 MB / 296.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003202/0.1931, allocations: 1.85 MB / 298.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00109/0.1941, allocations: 0.508 MB / 298.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001747/0.1959, allocations: 0.7386 MB / 299.3 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008522/0.1967, allocations: 1.174 MB / 300.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001824/0.1986, allocations: 1.446 MB / 301.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005636/0.2042, allocations: 6.874 MB / 308.8 MB, free: 10.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.2042, allocations: 3.844 kB / 308.8 MB, free: 10.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.195e-06/0.2042, allocations: 0 / 308.8 MB, free: 10.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002036/0.2044, allocations: 0 / 308.8 MB, free: 10.96 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.009916/0.2143, allocations: 4.468 MB / 313.3 MB, free: 7.961 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2144, allocations: 10.77 kB / 313.3 MB, free: 7.961 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004174/0.2185, allocations: 1.247 MB / 314.5 MB, free: 7.359 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003455/0.222, allocations: 2.502 MB / 317 MB, free: 5.184 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/0.2221, allocations: 245.5 kB / 317.3 MB, free: 4.945 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003937/0.2225, allocations: 320 kB / 317.6 MB, free: 4.633 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005715/0.2282, allocations: 4.449 MB / 322 MB, free: 112 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.691e-05/0.2283, allocations: 3.984 kB / 322 MB, free: 108 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003462/0.2286, allocations: 135.2 kB / 322.2 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001798/0.2288, allocations: 154.4 kB / 322.3 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006961/0.2358, allocations: 3.622 MB / 325.9 MB, free: 12.21 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0218/0.2576, allocations: 11.58 MB / 337.5 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005676/0.2633, allocations: 2.674 MB / 340.2 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002351/0.2656, allocations: 1.253 MB / 341.5 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00671/0.2723, allocations: 3.229 MB / 344.7 MB, free: 9.672 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001623/0.2739, allocations: 1.007 MB / 345.7 MB, free: 8.598 MB / 298.7 MB Notification: Performance of pre-optimization done (n=132): time 2.896e-06/0.2739, allocations: 0 / 345.7 MB, free: 8.598 MB / 298.7 MB Notification: Performance of matching and sorting (n=140): time 0.01358/0.2875, allocations: 5.998 MB / 351.7 MB, free: 2.582 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001675/0.2877, allocations: 218.9 kB / 351.9 MB, free: 2.316 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002757/0.2904, allocations: 1.696 MB / 353.6 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001248/0.2906, allocations: 53.7 kB / 353.6 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001629/0.2922, allocations: 1.518 MB / 355.2 MB, free: 15.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005342/0.2927, allocations: 0.5004 MB / 355.7 MB, free: 14.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005482/0.2933, allocations: 299.5 kB / 356 MB, free: 14.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.2934, allocations: 313.1 kB / 356.3 MB, free: 13.92 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/0.2947, allocations: 0.6637 MB / 356.9 MB, free: 13.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001929/0.2966, allocations: 1.387 MB / 358.3 MB, free: 11.61 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003111/0.2997, allocations: 1.94 MB / 360.3 MB, free: 9.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/0.2998, allocations: 4 kB / 360.3 MB, free: 9.516 MB / 314.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.00466/0.3044, allocations: 2.43 MB / 362.7 MB, free: 7.172 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.3044, allocations: 12 kB / 362.7 MB, free: 7.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.028e-05/0.3045, allocations: 19.94 kB / 362.7 MB, free: 7.141 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/0.3055, allocations: 330.9 kB / 363 MB, free: 6.809 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/0.307, allocations: 379.2 kB / 363.4 MB, free: 6.461 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00712/0.3141, allocations: 5.965 MB / 369.4 MB, free: 240 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.3156, allocations: 100 kB / 369.5 MB, free: 140 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/0.3157, allocations: 72.23 kB / 369.5 MB, free: 68 kB / 314.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.001987/0.3177, allocations: 1.03 MB / 370.6 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004866/0.3182, allocations: 234.8 kB / 370.8 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004372/0.3226, allocations: 2.092 MB / 372.9 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/0.3226, allocations: 16 kB / 372.9 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.3226, allocations: 4 kB / 372.9 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.826e-05/0.3226, allocations: 7.969 kB / 372.9 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008277/0.3309, allocations: 4.235 MB / 377.2 MB, free: 8.453 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.3309, allocations: 4 kB / 377.2 MB, free: 8.449 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008742/0.3318, allocations: 185.9 kB / 377.3 MB, free: 8.277 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001748/0.3335, allocations: 0.5218 MB / 377.9 MB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001219/0.3337, allocations: 47.97 kB / 377.9 MB, free: 7.699 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01286/0.3465, allocations: 10.42 MB / 388.3 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.3465, allocations: 4 kB / 388.3 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005902/0.3524, allocations: 3.024 MB / 391.4 MB, free: 9.789 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009588/0.3534, allocations: 346.6 kB / 391.7 MB, free: 9.449 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003409/0.3537, allocations: 28 kB / 391.7 MB, free: 9.422 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009452/0.3547, allocations: 67.95 kB / 391.8 MB, free: 9.355 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002766/0.355, allocations: 109 kB / 391.9 MB, free: 9.246 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/0.3551, allocations: 43.98 kB / 391.9 MB, free: 9.203 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002054/0.3571, allocations: 1.141 MB / 393.1 MB, free: 8.066 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3571, allocations: 0 / 393.1 MB, free: 8.066 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002159/0.3593, allocations: 0.5742 MB / 393.7 MB, free: 7.492 MB / 346.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.002163/0.3614, allocations: 0.5021 MB / 394.2 MB, free: 7.199 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003853/0.3653, allocations: 2.045 MB / 396.2 MB, free: 5.168 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.3653, allocations: 0 / 396.2 MB, free: 5.168 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002726/0.368, allocations: 1.539 MB / 397.7 MB, free: 3.59 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002255/0.3703, allocations: 459.5 kB / 398.2 MB, free: 3.145 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.3816, allocations: 5.769 MB / 404 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002709/0.3843, allocations: 1.797 MB / 405.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001409/0.3857, allocations: 383.2 kB / 406.1 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004431/0.3862, allocations: 128.5 kB / 406.3 MB, free: 10.99 MB / 362.7 MB Notification: Performance of SimCode: time 1.192e-06/0.3862, allocations: 0 / 406.3 MB, free: 10.99 MB / 362.7 MB Notification: Performance of Templates: time 0.1698/0.5559, allocations: 27.47 MB / 433.7 MB, free: 123.2 MB / 378.7 MB " [Timeout remaining time 659] 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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 9.421776723931544]