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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=400000,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=400000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 116.5 kB / 17.7 MB, free: 5.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 191 kB / 18.63 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009878/0.0009878, allocations: 48.23 kB / 302.1 MB, free: 5.133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1024, allocations: 49.44 MB / 351.5 MB, free: 3.668 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01563/0.1181, allocations: 13.43 MB / 365 MB, free: 6.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009409/0.1275, allocations: 4.844 MB / 369.8 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00214/0.1297, allocations: 79.69 kB / 369.9 MB, free: 1.223 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003022/0.1328, allocations: 1.095 MB / 371 MB, free: 124 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1871/0.3199, allocations: 1.371 MB / 372.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003126/0.323, allocations: 0.9674 MB / 373.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006131/0.3292, allocations: 4.078 MB / 377.4 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004034/0.3332, allocations: 3.249 MB / 380.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003584/0.3368, allocations: 1.914 MB / 382.6 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003796/0.3407, allocations: 2.161 MB / 384.7 MB, free: 8.656 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009823/0.3417, allocations: 0.5095 MB / 385.2 MB, free: 8.656 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002188/0.3439, allocations: 0.7511 MB / 386 MB, free: 8.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001076/0.3449, allocations: 1.144 MB / 387.1 MB, free: 7.887 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00276/0.3477, allocations: 2.15 MB / 389.3 MB, free: 6.465 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005744/0.3535, allocations: 6.8 MB / 396.1 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3535, allocations: 0 / 396.1 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.3535, allocations: 3.938 kB / 396.1 MB, free: 2.801 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001471/0.3537, allocations: 0 / 396.1 MB, free: 2.801 MB / 302.1 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.0104/0.3641, allocations: 4.494 MB / 400.6 MB, free: 15.82 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.3641, allocations: 13.11 kB / 400.6 MB, free: 15.81 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00415/0.3683, allocations: 0.8234 MB / 401.4 MB, free: 15.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004562/0.3729, allocations: 2.46 MB / 403.9 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001884/0.3731, allocations: 242.4 kB / 404.1 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004964/0.3736, allocations: 322.9 kB / 404.4 MB, free: 12.49 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007343/0.3809, allocations: 4.284 MB / 408.7 MB, free: 8.164 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-05/0.381, allocations: 11.84 kB / 408.7 MB, free: 8.152 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002961/0.3813, allocations: 131 kB / 408.8 MB, free: 8.027 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001416/0.3815, allocations: 154.4 kB / 409 MB, free: 7.875 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005966/0.3874, allocations: 3.625 MB / 412.6 MB, free: 4.242 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01999/0.4074, allocations: 13.23 MB / 425.8 MB, free: 6.781 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006327/0.4138, allocations: 6.962 MB / 432.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00215/0.416, allocations: 1.377 MB / 434.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006682/0.4227, allocations: 3.848 MB / 438 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001282/0.424, allocations: 0.8543 MB / 438.9 MB, free: 8.762 MB / 350.1 MB Notification: Performance of pre-optimization done (n=132): time 2.916e-06/0.424, allocations: 0 / 438.9 MB, free: 8.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=140): time 0.0134/0.4374, allocations: 6.53 MB / 445.4 MB, free: 2.023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001441/0.4376, allocations: 222.9 kB / 445.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003131/0.4407, allocations: 1.899 MB / 447.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001491/0.4409, allocations: 49.7 kB / 447.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001685/0.4426, allocations: 1.483 MB / 449.1 MB, free: 14.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005523/0.4431, allocations: 484.3 kB / 449.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005242/0.4437, allocations: 307.3 kB / 449.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002675/0.4439, allocations: 309.1 kB / 450.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/0.4451, allocations: 0.6637 MB / 450.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001597/0.4467, allocations: 1.216 MB / 452 MB, free: 11.13 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002919/0.4496, allocations: 1.944 MB / 454 MB, free: 8.984 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.4497, allocations: 4 kB / 454 MB, free: 8.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004048/0.4537, allocations: 2.424 MB / 456.4 MB, free: 6.516 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/0.4538, allocations: 12 kB / 456.4 MB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/0.4538, allocations: 19.94 kB / 456.4 MB, free: 6.484 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007179/0.4545, allocations: 283.5 kB / 456.7 MB, free: 6.195 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/0.4559, allocations: 379.4 kB / 457.1 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006157/0.4621, allocations: 6.381 MB / 463.5 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.4637, allocations: 95.98 kB / 463.5 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/0.4639, allocations: 71.94 kB / 463.6 MB, free: 14.87 MB / 382.1 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.001803/0.4657, allocations: 1.032 MB / 464.6 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003425/0.466, allocations: 205.5 kB / 464.8 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003767/0.4698, allocations: 2.254 MB / 467.1 MB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.919e-05/0.4698, allocations: 16 kB / 467.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.4699, allocations: 11.94 kB / 467.1 MB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/0.4699, allocations: 7.969 kB / 467.1 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008024/0.4779, allocations: 5.095 MB / 472.2 MB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.4779, allocations: 0 / 472.2 MB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007828/0.4787, allocations: 183.8 kB / 472.4 MB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001143/0.4799, allocations: 468 kB / 472.9 MB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.456e-05/0.48, allocations: 39.98 kB / 472.9 MB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01054/0.4905, allocations: 11.14 MB / 484 MB, free: 9.562 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-06/0.4906, allocations: 15.89 kB / 484.1 MB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005438/0.496, allocations: 3.14 MB / 487.2 MB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/0.4971, allocations: 430.5 kB / 487.6 MB, free: 5.883 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002894/0.4974, allocations: 32 kB / 487.7 MB, free: 5.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008607/0.4983, allocations: 63.89 kB / 487.7 MB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002733/0.4986, allocations: 105.2 kB / 487.8 MB, free: 5.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.02e-05/0.4987, allocations: 43.98 kB / 487.9 MB, free: 5.645 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002091/0.5008, allocations: 1.311 MB / 489.2 MB, free: 4.344 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5008, allocations: 0 / 489.2 MB, free: 4.344 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002279/0.5031, allocations: 0.5782 MB / 489.8 MB, free: 3.766 MB / 398.1 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 (102): * Single equations (assignments): 95 * 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.001124/0.5042, allocations: 489.9 kB / 490.2 MB, free: 3.449 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003572/0.5078, allocations: 2.18 MB / 492.4 MB, free: 1.211 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.5078, allocations: 4 kB / 492.4 MB, free: 1.207 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002452/0.5103, allocations: 1.574 MB / 494 MB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002617/0.5129, allocations: 0.5448 MB / 494.5 MB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009847/0.5228, allocations: 5.775 MB / 0.4886 GB, free: 9.227 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002033/0.5248, allocations: 2.347 MB / 0.4909 GB, free: 6.852 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001408/0.5263, allocations: 413 kB / 0.4913 GB, free: 6.445 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000428/0.5267, allocations: 131.4 kB / 0.4914 GB, free: 6.316 MB / 414.1 MB Notification: Performance of SimCode: time 1.423e-06/0.5267, allocations: 0 / 0.4914 GB, free: 6.316 MB / 414.1 MB Notification: Performance of Templates: time 0.05149/0.5782, allocations: 30.02 MB / 0.5207 GB, free: 8.691 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (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 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins1/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/jenkins1/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) Reference file matches