Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000837/0.000837, allocations: 96.72 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009887/0.0009887, allocations: 209.9 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.8 MB / 246.8 MB, free: 9.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002144/0.0002144, allocations: 8 kB / 307.8 MB, free: 0.5898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08468/0.08491, allocations: 51.52 MB / 359.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.1762/0.2612, allocations: 13.22 MB / 372.5 MB, free: 9.785 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008313/0.2695, allocations: 5.04 MB / 377.5 MB, free: 9.625 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00174/0.2713, allocations: 77.66 kB / 377.6 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002608/0.2739, allocations: 0.9882 MB / 378.6 MB, free: 9.355 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003814/0.2778, allocations: 1.255 MB / 379.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00246/0.2802, allocations: 0.9054 MB / 380.8 MB, free: 8.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005551/0.2858, allocations: 4.425 MB / 385.2 MB, free: 6.859 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003154/0.289, allocations: 2.7 MB / 387.9 MB, free: 5.691 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002254/0.2913, allocations: 1.333 MB / 389.2 MB, free: 5.129 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002559/0.2938, allocations: 1.76 MB / 391 MB, free: 4.414 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004136/0.2943, allocations: 207.3 kB / 391.2 MB, free: 4.414 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001367/0.2956, allocations: 490.7 kB / 391.7 MB, free: 4.316 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006014/0.2962, allocations: 0.789 MB / 392.5 MB, free: 3.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001548/0.2978, allocations: 1.78 MB / 394.2 MB, free: 2.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005131/0.3029, allocations: 6.412 MB / 400.7 MB, free: 14.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.303, allocations: 0 / 400.7 MB, free: 14.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.303, allocations: 0 / 400.7 MB, free: 14.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001019/0.3031, allocations: 0 / 400.7 MB, free: 14.34 MB / 318.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.009501/0.3126, allocations: 3.821 MB / 404.5 MB, free: 11.83 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.3126, allocations: 13.66 kB / 404.5 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004532/0.3172, allocations: 0.8414 MB / 405.3 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004203/0.3214, allocations: 2.377 MB / 407.7 MB, free: 8.852 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001823/0.3216, allocations: 241.5 kB / 407.9 MB, free: 8.617 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004984/0.3221, allocations: 318.1 kB / 408.2 MB, free: 8.309 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007306/0.3294, allocations: 4.288 MB / 412.5 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.252e-05/0.3295, allocations: 11.98 kB / 412.5 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003185/0.3298, allocations: 126.7 kB / 412.7 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001492/0.33, allocations: 154.4 kB / 412.8 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006598/0.3366, allocations: 3.633 MB / 416.5 MB, free: 52 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02191/0.3585, allocations: 13.57 MB / 430 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007628/0.3662, allocations: 7.221 MB / 437.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002823/0.369, allocations: 1.586 MB / 438.8 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007141/0.3762, allocations: 4.338 MB / 443.2 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001351/0.3776, allocations: 0.8793 MB / 444.1 MB, free: 3.121 MB / 350.1 MB Notification: Performance of pre-optimization done (n=132): time 2.755e-06/0.3776, allocations: 0 / 444.1 MB, free: 3.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=140): time 0.01326/0.3908, allocations: 6.741 MB / 450.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.391, allocations: 222.9 kB / 451 MB, free: 11.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003176/0.3942, allocations: 1.94 MB / 453 MB, free: 9.922 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.3943, allocations: 49.7 kB / 453 MB, free: 9.867 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001432/0.3957, allocations: 1.485 MB / 454.5 MB, free: 8.367 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004237/0.3962, allocations: 485 kB / 455 MB, free: 7.898 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.3964, allocations: 137.6 kB / 455.1 MB, free: 7.758 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.3965, allocations: 305.1 kB / 455.4 MB, free: 7.457 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/0.3977, allocations: 0.6793 MB / 456.1 MB, free: 6.781 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001516/0.3992, allocations: 1.229 MB / 457.3 MB, free: 5.324 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002682/0.4019, allocations: 1.962 MB / 459.3 MB, free: 3.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/0.4019, allocations: 8 kB / 459.3 MB, free: 3.152 MB / 366.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.00425/0.4062, allocations: 2.514 MB / 461.8 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.4062, allocations: 12 kB / 461.8 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.466e-05/0.4062, allocations: 16 kB / 461.8 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008676/0.4071, allocations: 343.4 kB / 462.1 MB, free: 228 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/0.4085, allocations: 371.4 kB / 462.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00626/0.4148, allocations: 6.288 MB / 468.8 MB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/0.4164, allocations: 107.8 kB / 468.9 MB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001771/0.4166, allocations: 72 kB / 469 MB, free: 9 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 (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.001987/0.4186, allocations: 1.04 MB / 470 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004282/0.419, allocations: 205.5 kB / 470.2 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004262/0.4233, allocations: 2.348 MB / 472.6 MB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.4233, allocations: 16 kB / 472.6 MB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.737e-05/0.4233, allocations: 12.17 kB / 472.6 MB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.4234, allocations: 3.984 kB / 472.6 MB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008753/0.4321, allocations: 5.251 MB / 477.8 MB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-06/0.4322, allocations: 4 kB / 477.8 MB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007701/0.4329, allocations: 171.8 kB / 478 MB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001307/0.4342, allocations: 0.5076 MB / 478.5 MB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.901e-05/0.4344, allocations: 35.98 kB / 478.6 MB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01047/0.4448, allocations: 10.64 MB / 489.2 MB, free: 3.914 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.4449, allocations: 8.062 kB / 489.2 MB, free: 3.906 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005156/0.45, allocations: 3.245 MB / 492.4 MB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009484/0.451, allocations: 438.4 kB / 492.9 MB, free: 128 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004309/0.4514, allocations: 39.98 kB / 492.9 MB, free: 88 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.4525, allocations: 67.95 kB / 493 MB, free: 20 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002514/0.4528, allocations: 101.2 kB / 493.1 MB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.533e-05/0.4529, allocations: 36.38 kB / 493.1 MB, free: 15.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002279/0.4552, allocations: 1.331 MB / 494.4 MB, free: 14.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4552, allocations: 0 / 494.4 MB, free: 14.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002267/0.4575, allocations: 0.5978 MB / 495 MB, free: 13.93 MB / 414.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 (99): * Single equations (assignments): 92 * 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.001144/0.4586, allocations: 484.9 kB / 495.5 MB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003478/0.4621, allocations: 2.229 MB / 497.7 MB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4621, allocations: 0 / 497.7 MB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002339/0.4645, allocations: 1.614 MB / 499.4 MB, free: 9.637 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002615/0.4671, allocations: 0.5194 MB / 499.9 MB, free: 9.125 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/0.4779, allocations: 7.388 MB / 0.4954 GB, free: 1.691 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002409/0.4803, allocations: 2.356 MB / 0.4977 GB, free: 15.3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001402/0.4818, allocations: 409.1 kB / 0.4981 GB, free: 14.9 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003649/0.4821, allocations: 135.4 kB / 0.4982 GB, free: 14.77 MB / 430.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4821, allocations: 0 / 0.4982 GB, free: 14.77 MB / 430.1 MB Notification: Performance of Templates: time 0.05082/0.533, allocations: 29.29 MB / 0.5268 GB, free: 1.773 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches