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.001393/0.001393, allocations: 110.3 kB / 17.06 MB, free: 6.129 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.001512/0.001512, allocations: 191 kB / 18 MB, free: 5.207 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.302/1.302, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 43.94 kB / 351.3 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2726, allocations: 49.44 MB / 400.7 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01405/0.2867, allocations: 13.43 MB / 414.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009409/0.2962, allocations: 4.832 MB / 419 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002275/0.2985, allocations: 79.69 kB / 419.1 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002561/0.3011, allocations: 1.138 MB / 420.2 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0036/0.3047, allocations: 1.414 MB / 421.6 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002059/0.3068, allocations: 0.9852 MB / 422.6 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003925/0.3108, allocations: 4.071 MB / 426.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003331/0.3141, allocations: 3.256 MB / 429.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002164/0.3163, allocations: 1.928 MB / 431.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002282/0.3186, allocations: 2.152 MB / 434 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005401/0.3191, allocations: 0.5156 MB / 434.5 MB, free: 6.863 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.3203, allocations: 0.7497 MB / 435.3 MB, free: 6.113 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009446/0.3213, allocations: 1.145 MB / 436.4 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00198/0.3232, allocations: 2.147 MB / 438.6 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005799/0.3291, allocations: 6.794 MB / 445.4 MB, free: 12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3291, allocations: 3.938 kB / 445.4 MB, free: 11.99 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3291, allocations: 4 kB / 445.4 MB, free: 11.99 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000127/0.3292, allocations: 0 / 445.4 MB, free: 11.99 MB / 366.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.01044/0.3397, allocations: 4.487 MB / 449.9 MB, free: 7.426 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.3397, allocations: 12.03 kB / 449.9 MB, free: 7.414 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003932/0.3437, allocations: 0.824 MB / 450.7 MB, free: 6.586 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003606/0.3473, allocations: 2.455 MB / 453.2 MB, free: 4.074 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001574/0.3474, allocations: 238.4 kB / 453.4 MB, free: 3.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004321/0.3479, allocations: 319.9 kB / 453.7 MB, free: 3.527 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00619/0.3541, allocations: 4.292 MB / 458 MB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.514e-05/0.3542, allocations: 0 / 458 MB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002729/0.3544, allocations: 131.9 kB / 458.1 MB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001298/0.3546, allocations: 154.4 kB / 458.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005582/0.3602, allocations: 3.633 MB / 461.9 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01713/0.3773, allocations: 13.24 MB / 475.2 MB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006876/0.3842, allocations: 6.973 MB / 482.1 MB, free: 5.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002201/0.3865, allocations: 1.363 MB / 483.5 MB, free: 4.457 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006733/0.3932, allocations: 3.828 MB / 487.3 MB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001323/0.3945, allocations: 0.8611 MB / 488.2 MB, free: 15.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 2.766e-06/0.3946, allocations: 0 / 488.2 MB, free: 15.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.01229/0.4068, allocations: 6.524 MB / 494.7 MB, free: 8.902 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000155/0.407, allocations: 226.9 kB / 494.9 MB, free: 8.633 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002623/0.4096, allocations: 1.902 MB / 496.8 MB, free: 6.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.14e-05/0.4097, allocations: 53.7 kB / 496.9 MB, free: 6.672 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001352/0.4111, allocations: 1.474 MB / 498.4 MB, free: 5.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003683/0.4115, allocations: 489 kB / 498.8 MB, free: 4.695 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004671/0.412, allocations: 303.3 kB / 499.1 MB, free: 4.395 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.4121, allocations: 321 kB / 499.4 MB, free: 4.078 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.4131, allocations: 0.6559 MB / 0.4884 GB, free: 3.422 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/0.4146, allocations: 1.217 MB / 0.4896 GB, free: 1.984 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002596/0.4172, allocations: 1.939 MB / 0.4915 GB, free: 15.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.405e-06/0.4172, allocations: 8 kB / 0.4915 GB, free: 15.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003926/0.4211, allocations: 2.432 MB / 0.4938 GB, free: 13.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.4212, allocations: 14.5 kB / 0.4939 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/0.4212, allocations: 16 kB / 0.4939 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00074/0.4219, allocations: 287 kB / 0.4941 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/0.4234, allocations: 383.4 kB / 0.4945 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005553/0.429, allocations: 6.373 MB / 0.5007 GB, free: 5.879 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.4301, allocations: 95.84 kB / 0.5008 GB, free: 5.785 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.4302, allocations: 71.98 kB / 0.5009 GB, free: 5.715 MB / 430.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.001606/0.4318, allocations: 1.036 MB / 0.5019 GB, free: 4.668 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002429/0.4321, allocations: 193.7 kB / 0.5021 GB, free: 4.477 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003784/0.4359, allocations: 2.265 MB / 0.5043 GB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.4359, allocations: 16 kB / 0.5043 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.4359, allocations: 8 kB / 0.5043 GB, free: 2.121 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.4359, allocations: 7.969 kB / 0.5043 GB, free: 2.113 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007224/0.4432, allocations: 5.099 MB / 0.5093 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.4432, allocations: 192 / 0.5093 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000764/0.4439, allocations: 187.7 kB / 0.5095 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001108/0.4451, allocations: 467.8 kB / 0.5099 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.124e-05/0.4452, allocations: 43.92 kB / 0.51 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01009/0.4553, allocations: 11.14 MB / 0.5209 GB, free: 360 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4553, allocations: 4.031 kB / 0.5209 GB, free: 356 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004816/0.4601, allocations: 3.138 MB / 0.5239 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009376/0.4611, allocations: 434.4 kB / 0.5243 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002178/0.4613, allocations: 32 kB / 0.5244 GB, free: 12.65 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008083/0.4621, allocations: 63.95 kB / 0.5244 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002303/0.4623, allocations: 109.1 kB / 0.5245 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.008e-05/0.4624, allocations: 36 kB / 0.5246 GB, free: 12.45 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001867/0.4643, allocations: 1.311 MB / 0.5258 GB, free: 11.14 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4643, allocations: 0 / 0.5258 GB, free: 11.14 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002022/0.4663, allocations: 0.582 MB / 0.5264 GB, free: 10.56 MB / 462.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.001097/0.4674, allocations: 483.7 kB / 0.5269 GB, free: 10.25 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003154/0.4706, allocations: 2.179 MB / 0.529 GB, free: 8.008 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.4706, allocations: 0.8125 kB / 0.529 GB, free: 8.008 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002144/0.4728, allocations: 1.59 MB / 0.5306 GB, free: 6.352 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/0.4747, allocations: 0.5504 MB / 0.5311 GB, free: 5.809 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008453/0.4831, allocations: 5.758 MB / 0.5367 GB, free: 8 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1904/0.6735, allocations: 2.348 MB / 0.539 GB, free: 128.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001402/0.675, allocations: 408.9 kB / 0.5394 GB, free: 128.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003328/0.6753, allocations: 141.9 kB / 0.5395 GB, free: 128.2 MB / 462.1 MB Notification: Performance of SimCode: time 7.81e-07/0.6753, allocations: 3.406 kB / 0.5395 GB, free: 128.2 MB / 462.1 MB Notification: Performance of Templates: time 0.04122/0.7166, allocations: 30.57 MB / 0.5694 GB, free: 106.9 MB / 462.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 -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/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) Reference file matches