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.0008315/0.0008314, allocations: 93.58 kB / 17 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009679/0.0009679, allocations: 194.4 kB / 17.91 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.7 MB / 246.4 MB, free: 11.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000199/0.0001991, allocations: 8 kB / 307.1 MB, free: 1.141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0819/0.08212, allocations: 51.53 MB / 358.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01182/0.09398, allocations: 12.37 MB / 371 MB, free: 1.191 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1646/0.2586, allocations: 4.78 MB / 375.8 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001428/0.26, allocations: 77.22 kB / 375.9 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002185/0.2622, allocations: 0.8667 MB / 376.7 MB, free: 9.289 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003138/0.2654, allocations: 1.135 MB / 377.9 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002125/0.2675, allocations: 0.7016 MB / 378.6 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006875/0.2744, allocations: 4.126 MB / 382.7 MB, free: 7.957 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003519/0.278, allocations: 2.246 MB / 384.9 MB, free: 7.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002681/0.2807, allocations: 1.317 MB / 386.3 MB, free: 7.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002847/0.2836, allocations: 1.682 MB / 387.9 MB, free: 6.879 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000481/0.2841, allocations: 206.9 kB / 388.1 MB, free: 6.879 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001709/0.2858, allocations: 456.7 kB / 388.6 MB, free: 6.859 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007396/0.2865, allocations: 0.774 MB / 389.4 MB, free: 6.727 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009739/0.2875, allocations: 0.7545 MB / 390.1 MB, free: 6.387 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0043/0.2918, allocations: 5.591 MB / 395.7 MB, free: 2.699 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2919, allocations: 5.312 kB / 395.7 MB, free: 2.695 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2919, allocations: 0 / 395.7 MB, free: 2.695 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001229/0.292, allocations: 0 / 395.7 MB, free: 2.695 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.008674/0.3007, allocations: 3.861 MB / 399.6 MB, free: 212 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.3007, allocations: 8.656 kB / 399.6 MB, free: 212 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004247/0.305, allocations: 0.8349 MB / 400.4 MB, free: 15.81 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003874/0.3089, allocations: 2.316 MB / 402.7 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001559/0.309, allocations: 243.9 kB / 403 MB, free: 14.04 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004288/0.3095, allocations: 323.6 kB / 403.3 MB, free: 13.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007018/0.3165, allocations: 4.265 MB / 407.6 MB, free: 9.777 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.069e-05/0.3166, allocations: 3.906 kB / 407.6 MB, free: 9.773 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002911/0.3169, allocations: 131 kB / 407.7 MB, free: 9.648 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001329/0.317, allocations: 150.4 kB / 407.8 MB, free: 9.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005869/0.3229, allocations: 3.617 MB / 411.5 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02049/0.3434, allocations: 13.55 MB / 425 MB, free: 8.074 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006393/0.3498, allocations: 7.225 MB / 432.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002645/0.3525, allocations: 1.585 MB / 433.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006489/0.359, allocations: 4.339 MB / 438.2 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001309/0.3603, allocations: 0.8728 MB / 439 MB, free: 8.984 MB / 350.1 MB Notification: Performance of pre-optimization done (n=132): time 2.565e-06/0.3603, allocations: 0 / 439 MB, free: 8.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=140): time 0.0122/0.3725, allocations: 6.76 MB / 445.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.632e-05/0.3727, allocations: 226.9 kB / 446 MB, free: 1.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002556/0.3752, allocations: 1.912 MB / 447.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.603e-05/0.3753, allocations: 53.7 kB / 448 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001177/0.3765, allocations: 1.491 MB / 449.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003498/0.3769, allocations: 487.5 kB / 449.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.289e-05/0.377, allocations: 38.62 kB / 450 MB, free: 13.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3771, allocations: 373.9 kB / 450.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.3781, allocations: 0.6715 MB / 451 MB, free: 12.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/0.3795, allocations: 1.221 MB / 452.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/0.3808, allocations: 0.8925 MB / 453.1 MB, free: 10.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.3808, allocations: 4 kB / 453.1 MB, free: 10.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.00385/0.3847, allocations: 2.495 MB / 455.6 MB, free: 7.801 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.3847, allocations: 12 kB / 455.6 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/0.3848, allocations: 12.28 kB / 455.7 MB, free: 7.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007952/0.3856, allocations: 347.1 kB / 456 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/0.3869, allocations: 371.4 kB / 456.4 MB, free: 7.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005933/0.3929, allocations: 6.273 MB / 462.6 MB, free: 400 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/0.3947, allocations: 99.92 kB / 462.7 MB, free: 300 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002166/0.395, allocations: 76 kB / 462.8 MB, free: 224 kB / 366.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 ($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.002331/0.3973, allocations: 1.036 MB / 463.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004423/0.3978, allocations: 205.5 kB / 464 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004034/0.4018, allocations: 2.344 MB / 466.4 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.4018, allocations: 12 kB / 466.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.4019, allocations: 8 kB / 466.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.4019, allocations: 3.984 kB / 466.4 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008005/0.4099, allocations: 5.235 MB / 471.6 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.4099, allocations: 0 / 471.6 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007743/0.4107, allocations: 182.5 kB / 471.8 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00127/0.412, allocations: 0.5037 MB / 472.3 MB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-05/0.4121, allocations: 35.98 kB / 472.4 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009932/0.422, allocations: 10.62 MB / 483 MB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.4221, allocations: 0 / 483 MB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005013/0.4271, allocations: 3.229 MB / 486.2 MB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009247/0.428, allocations: 442.4 kB / 486.6 MB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002634/0.4283, allocations: 39.98 kB / 486.7 MB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008074/0.4291, allocations: 70.36 kB / 486.7 MB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002278/0.4294, allocations: 109 kB / 486.8 MB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-05/0.4295, allocations: 39.98 kB / 486.9 MB, free: 7.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001851/0.4313, allocations: 1.316 MB / 488.2 MB, free: 5.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4313, allocations: 4 kB / 488.2 MB, free: 5.836 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002075/0.4334, allocations: 0.5939 MB / 488.8 MB, free: 5.242 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 (99): * Single equations (assignments): 92 * 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.00106/0.4345, allocations: 478.8 kB / 489.3 MB, free: 4.918 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003253/0.4377, allocations: 2.218 MB / 491.5 MB, free: 2.641 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4378, allocations: 0 / 491.5 MB, free: 2.641 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002289/0.44, allocations: 1.606 MB / 493.1 MB, free: 0.9727 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002534/0.4426, allocations: 0.5271 MB / 493.6 MB, free: 464 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/0.4537, allocations: 7.055 MB / 0.4889 GB, free: 9.367 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002/0.4557, allocations: 2.36 MB / 0.4912 GB, free: 6.977 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001564/0.4573, allocations: 401.2 kB / 0.4916 GB, free: 6.582 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003433/0.4576, allocations: 139.3 kB / 0.4918 GB, free: 6.445 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4576, allocations: 0 / 0.4918 GB, free: 6.445 MB / 414.1 MB Notification: Performance of Templates: time 0.05126/0.5089, allocations: 28.59 MB / 0.5197 GB, free: 10.16 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