Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001085/0.001085, allocations: 198.5 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 226.5 MB / 245.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007442/0.0007443, allocations: 99.44 kB / 297.4 MB, free: 6.695 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00021/0.0002103, allocations: 8 kB / 357.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2029, allocations: 51.29 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3131/0.516, allocations: 116 MB / 0.5124 GB, free: 98.11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.5163, allocations: 101.1 kB / 0.5125 GB, free: 98.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1744/0.6907, allocations: 87.76 MB / 0.5982 GB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.6908, allocations: 3.938 kB / 0.5982 GB, free: 12.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000273/0.6911, allocations: 75.94 kB / 0.5983 GB, free: 12.9 MB / 378.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.009384/0.7005, allocations: 3.656 MB / 0.6018 GB, free: 9.168 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.7005, allocations: 8.031 kB / 0.6018 GB, free: 9.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003854/0.7044, allocations: 0.7576 MB / 0.6026 GB, free: 8.398 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005705/0.7101, allocations: 2.791 MB / 0.6053 GB, free: 5.551 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/0.7103, allocations: 242.8 kB / 0.6055 GB, free: 5.312 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008695/0.7112, allocations: 320.6 kB / 0.6058 GB, free: 5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008392/0.7196, allocations: 4.224 MB / 0.61 GB, free: 0.6641 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001065/0.7197, allocations: 0 / 0.61 GB, free: 0.6641 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005465/0.7203, allocations: 140 kB / 0.6101 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001322/0.7204, allocations: 142.4 kB / 0.6102 GB, free: 396 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006955/0.7274, allocations: 3.418 MB / 0.6136 GB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02391/0.7513, allocations: 13.58 MB / 0.6268 GB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0073/0.7587, allocations: 7.221 MB / 0.6339 GB, free: 6.852 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003231/0.7619, allocations: 1.729 MB / 0.6356 GB, free: 5.129 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007827/0.7698, allocations: 4.358 MB / 0.6398 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001399/0.7712, allocations: 0.8805 MB / 0.6407 GB, free: 15.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=132): time 4.338e-06/0.7712, allocations: 0 / 0.6407 GB, free: 15.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=140): time 0.01302/0.7843, allocations: 6.705 MB / 0.6472 GB, free: 8.785 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/0.7845, allocations: 226.9 kB / 0.6475 GB, free: 8.516 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003355/0.7878, allocations: 1.893 MB / 0.6493 GB, free: 6.574 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002351/0.7881, allocations: 49.7 kB / 0.6493 GB, free: 6.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001424/0.7895, allocations: 1.498 MB / 0.6508 GB, free: 5.004 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004819/0.79, allocations: 481 kB / 0.6513 GB, free: 4.527 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.087e-05/0.7901, allocations: 36 kB / 0.6513 GB, free: 4.492 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.7903, allocations: 373.9 kB / 0.6517 GB, free: 4.121 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/0.7914, allocations: 0.6754 MB / 0.6523 GB, free: 3.445 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001498/0.793, allocations: 1.217 MB / 0.6535 GB, free: 2.004 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002663/0.7956, allocations: 1.947 MB / 0.6554 GB, free: 15.85 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.7956, allocations: 4 kB / 0.6554 GB, free: 15.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004242/0.7999, allocations: 2.491 MB / 0.6578 GB, free: 13.31 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/0.7999, allocations: 12.31 kB / 0.6579 GB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.138e-05/0.8, allocations: 20 kB / 0.6579 GB, free: 13.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008671/0.8009, allocations: 335.1 kB / 0.6582 GB, free: 12.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.8022, allocations: 371.4 kB / 0.6586 GB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006409/0.8087, allocations: 6.28 MB / 0.6647 GB, free: 5.902 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/0.8105, allocations: 91.95 kB / 0.6648 GB, free: 5.812 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/0.8107, allocations: 75.98 kB / 0.6648 GB, free: 5.738 MB / 442.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 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * 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 (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 8,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002132/0.8128, allocations: 1.036 MB / 0.6659 GB, free: 4.691 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004629/0.8133, allocations: 197.6 kB / 0.666 GB, free: 4.496 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004242/0.8175, allocations: 2.348 MB / 0.6683 GB, free: 2.086 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/0.8176, allocations: 16 kB / 0.6684 GB, free: 2.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/0.8176, allocations: 11.94 kB / 0.6684 GB, free: 2.059 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/0.8176, allocations: 7.969 kB / 0.6684 GB, free: 2.051 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2288/1.046, allocations: 5.314 MB / 0.6736 GB, free: 86.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/1.046, allocations: 9.422 kB / 0.6736 GB, free: 86.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007175/1.047, allocations: 176.7 kB / 0.6737 GB, free: 86.92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001228/1.048, allocations: 0.4972 MB / 0.6742 GB, free: 86.88 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/1.049, allocations: 44.05 kB / 0.6743 GB, free: 86.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008414/1.057, allocations: 10.61 MB / 0.6846 GB, free: 80.32 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/1.057, allocations: 1.375 kB / 0.6846 GB, free: 80.32 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005004/1.062, allocations: 3.259 MB / 0.6878 GB, free: 79.86 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/1.063, allocations: 446.5 kB / 0.6882 GB, free: 79.77 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002849/1.063, allocations: 40.56 kB / 0.6883 GB, free: 79.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000851/1.064, allocations: 64.92 kB / 0.6883 GB, free: 79.77 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002605/1.065, allocations: 108.1 kB / 0.6884 GB, free: 79.76 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.751e-05/1.065, allocations: 41 kB / 0.6885 GB, free: 79.76 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001899/1.067, allocations: 1.301 MB / 0.6898 GB, free: 79.62 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.91e-07/1.067, allocations: 0 / 0.6898 GB, free: 79.62 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002463/1.069, allocations: 0.6445 MB / 0.6904 GB, free: 79.62 MB / 442.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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 8,(1,100.0%) 3,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001374/1.07, allocations: 0.6871 MB / 0.6911 GB, free: 79.51 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003363/1.074, allocations: 2.224 MB / 0.6932 GB, free: 79.04 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.074, allocations: 0 / 0.6932 GB, free: 79.04 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002132/1.076, allocations: 1.614 MB / 0.6948 GB, free: 78.46 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00301/1.079, allocations: 0.5085 MB / 0.6953 GB, free: 78.44 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/1.089, allocations: 7.072 MB / 0.7022 GB, free: 75.41 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001874/1.091, allocations: 2.312 MB / 0.7045 GB, free: 74.64 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006322/1.092, allocations: 149.4 kB / 0.7046 GB, free: 74.64 MB / 442.7 MB Notification: Performance of SimCode: time 7.82e-07/1.092, allocations: 0 / 0.7046 GB, free: 74.64 MB / 442.7 MB Notification: Performance of Templates: time 0.09218/1.184, allocations: 115.7 MB / 0.8175 GB, free: 13.83 MB / 458.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches