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.001389/0.001388, allocations: 114.8 kB / 17.74 MB, free: 5.344 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.001556/0.001556, allocations: 180.5 kB / 18.67 MB, free: 4.426 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.398/1.398, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 43.92 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2499, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01536/0.2653, allocations: 13.43 MB / 414.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009304/0.2746, allocations: 4.832 MB / 419.7 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00229/0.2769, allocations: 75.75 kB / 419.8 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003301/0.2803, allocations: 1.103 MB / 420.9 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004488/0.2848, allocations: 1.382 MB / 422.3 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002708/0.2875, allocations: 0.9662 MB / 423.2 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005521/0.2931, allocations: 4.074 MB / 427.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005297/0.2984, allocations: 3.249 MB / 430.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003494/0.3019, allocations: 1.928 MB / 432.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00418/0.3061, allocations: 2.156 MB / 434.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001595/0.3077, allocations: 0.5078 MB / 435.1 MB, free: 6.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002534/0.3103, allocations: 0.7575 MB / 435.9 MB, free: 6.219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001656/0.312, allocations: 1.141 MB / 437 MB, free: 5.074 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003561/0.3155, allocations: 2.147 MB / 439.2 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008287/0.3239, allocations: 6.801 MB / 446 MB, free: 12.1 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3239, allocations: 4 kB / 446 MB, free: 12.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3239, allocations: 0 / 446 MB, free: 12.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001961/0.3241, allocations: 0 / 446 MB, free: 12.09 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.01289/0.337, allocations: 4.483 MB / 450.5 MB, free: 7.535 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.337, allocations: 8.031 kB / 450.5 MB, free: 7.527 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004694/0.3417, allocations: 0.824 MB / 451.3 MB, free: 6.699 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004947/0.3467, allocations: 2.459 MB / 453.8 MB, free: 4.184 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002268/0.347, allocations: 238.4 kB / 454 MB, free: 3.949 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009059/0.3479, allocations: 323.9 kB / 454.3 MB, free: 3.633 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01023/0.3581, allocations: 4.284 MB / 458.6 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.533e-05/0.3583, allocations: 4 kB / 458.6 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004222/0.3587, allocations: 135.9 kB / 458.7 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001566/0.3589, allocations: 154.4 kB / 458.9 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007013/0.3659, allocations: 3.633 MB / 462.5 MB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0208/0.3867, allocations: 13.24 MB / 475.8 MB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006508/0.3933, allocations: 6.971 MB / 482.7 MB, free: 5.926 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002058/0.3953, allocations: 1.363 MB / 484.1 MB, free: 4.562 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005923/0.4013, allocations: 3.825 MB / 487.9 MB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001285/0.4026, allocations: 0.8687 MB / 488.8 MB, free: 15.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 3.848e-06/0.4026, allocations: 0 / 488.8 MB, free: 15.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.01182/0.4144, allocations: 6.524 MB / 495.3 MB, free: 9.004 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.642e-05/0.4146, allocations: 218.9 kB / 495.5 MB, free: 8.742 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002457/0.417, allocations: 1.91 MB / 497.4 MB, free: 6.832 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.879e-05/0.4171, allocations: 49.7 kB / 497.5 MB, free: 6.777 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001144/0.4183, allocations: 1.474 MB / 499 MB, free: 5.285 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003477/0.4186, allocations: 493 kB / 499.4 MB, free: 4.797 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004347/0.4191, allocations: 311.3 kB / 499.7 MB, free: 4.488 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.201e-05/0.4192, allocations: 309 kB / 0.4883 GB, free: 4.184 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.4202, allocations: 0.6637 MB / 0.489 GB, free: 3.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/0.4216, allocations: 1.205 MB / 0.4901 GB, free: 2.094 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002441/0.4241, allocations: 1.947 MB / 0.492 GB, free: 15.94 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.4241, allocations: 4 kB / 0.4921 GB, free: 15.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003859/0.4279, allocations: 2.428 MB / 0.4944 GB, free: 13.47 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.428, allocations: 12 kB / 0.4944 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/0.428, allocations: 16 kB / 0.4944 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007284/0.4287, allocations: 287.5 kB / 0.4947 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/0.4301, allocations: 383.4 kB / 0.4951 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005724/0.4359, allocations: 6.38 MB / 0.5013 GB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.4373, allocations: 87.86 kB / 0.5014 GB, free: 5.891 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001548/0.4375, allocations: 79.98 kB / 0.5015 GB, free: 5.812 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.001736/0.4392, allocations: 1.032 MB / 0.5025 GB, free: 4.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004532/0.4397, allocations: 197.6 kB / 0.5027 GB, free: 4.574 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003984/0.4437, allocations: 2.265 MB / 0.5049 GB, free: 2.242 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.4437, allocations: 16 kB / 0.5049 GB, free: 2.227 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-05/0.4437, allocations: 4 kB / 0.5049 GB, free: 2.223 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-05/0.4437, allocations: 7.969 kB / 0.5049 GB, free: 2.215 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008495/0.4522, allocations: 5.095 MB / 0.5099 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.162e-05/0.4523, allocations: 4 kB / 0.5099 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008078/0.4531, allocations: 183.6 kB / 0.5101 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001215/0.4543, allocations: 468 kB / 0.5105 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.4545, allocations: 39.92 kB / 0.5106 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01056/0.465, allocations: 11.14 MB / 0.5214 GB, free: 476 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.658e-06/0.4651, allocations: 11.95 kB / 0.5214 GB, free: 464 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005445/0.4705, allocations: 3.142 MB / 0.5245 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009987/0.4716, allocations: 434.4 kB / 0.5249 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004764/0.4721, allocations: 39.94 kB / 0.525 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/0.4732, allocations: 55.95 kB / 0.525 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000264/0.4734, allocations: 109.2 kB / 0.5251 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.512e-05/0.4735, allocations: 36 kB / 0.5252 GB, free: 12.55 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002292/0.4758, allocations: 1.311 MB / 0.5264 GB, free: 11.25 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4758, allocations: 0 / 0.5264 GB, free: 11.25 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002414/0.4783, allocations: 0.5859 MB / 0.527 GB, free: 10.66 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.00119/0.4795, allocations: 488.7 kB / 0.5275 GB, free: 10.34 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003655/0.4831, allocations: 2.179 MB / 0.5296 GB, free: 8.105 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.4832, allocations: 4 kB / 0.5296 GB, free: 8.102 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00241/0.4856, allocations: 1.583 MB / 0.5312 GB, free: 6.453 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002931/0.4885, allocations: 0.5359 MB / 0.5317 GB, free: 5.922 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/0.4993, allocations: 5.749 MB / 0.5373 GB, free: 128 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2018/0.7011, allocations: 2.299 MB / 0.5395 GB, free: 128.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006996/0.7018, allocations: 148 kB / 0.5397 GB, free: 128.3 MB / 462.1 MB Notification: Performance of SimCode: time 1.583e-06/0.7018, allocations: 0.6562 kB / 0.5397 GB, free: 128.3 MB / 462.1 MB Notification: Performance of Templates: time 0.08599/0.7878, allocations: 114.3 MB / 0.6513 GB, free: 24.13 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/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