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.001371/0.001372, allocations: 109.1 kB / 17.06 MB, free: 6.023 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.001606/0.001606, allocations: 191 kB / 18 MB, free: 5.105 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.281/1.281, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009503/0.0009504, allocations: 43.94 kB / 351.3 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2639, allocations: 49.45 MB / 400.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01464/0.2786, allocations: 13.43 MB / 414.2 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009527/0.2882, allocations: 4.828 MB / 419 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002484/0.2907, allocations: 79.69 kB / 419.1 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003068/0.2938, allocations: 1.099 MB / 420.2 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004203/0.2981, allocations: 1.377 MB / 421.6 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00246/0.3006, allocations: 0.9818 MB / 422.5 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005078/0.3057, allocations: 4.07 MB / 426.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003631/0.3093, allocations: 3.253 MB / 429.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003222/0.3126, allocations: 1.92 MB / 431.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0042/0.3168, allocations: 2.16 MB / 433.9 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009391/0.3178, allocations: 0.5078 MB / 434.5 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002133/0.3199, allocations: 0.7497 MB / 435.2 MB, free: 6.219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001091/0.321, allocations: 1.145 MB / 436.4 MB, free: 5.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002722/0.3237, allocations: 2.143 MB / 438.5 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00726/0.331, allocations: 6.805 MB / 445.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3311, allocations: 0 / 445.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3311, allocations: 7.938 kB / 445.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001562/0.3312, allocations: 0 / 445.3 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.0116/0.3428, allocations: 4.483 MB / 449.8 MB, free: 7.527 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.3429, allocations: 8.031 kB / 449.8 MB, free: 7.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004195/0.3471, allocations: 0.8201 MB / 450.6 MB, free: 6.695 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004221/0.3514, allocations: 2.459 MB / 453.1 MB, free: 4.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001596/0.3515, allocations: 250.4 kB / 453.3 MB, free: 3.934 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000465/0.352, allocations: 315.9 kB / 453.6 MB, free: 3.625 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007381/0.3594, allocations: 4.284 MB / 457.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.373e-05/0.3595, allocations: 8 kB / 457.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002976/0.3598, allocations: 128 kB / 458 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001395/0.36, allocations: 154.4 kB / 458.2 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005904/0.3659, allocations: 3.629 MB / 461.8 MB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02094/0.3868, allocations: 13.25 MB / 475.1 MB, free: 13.78 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006779/0.3936, allocations: 6.966 MB / 482 MB, free: 5.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002158/0.3958, allocations: 1.359 MB / 483.4 MB, free: 4.562 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006511/0.4024, allocations: 3.836 MB / 487.2 MB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001308/0.4037, allocations: 0.861 MB / 488.1 MB, free: 15.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 5.1e-06/0.4037, allocations: 3.938 kB / 488.1 MB, free: 15.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.01291/0.4166, allocations: 6.532 MB / 494.6 MB, free: 8.988 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.4168, allocations: 218.9 kB / 494.9 MB, free: 8.727 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003895/0.4207, allocations: 1.906 MB / 496.8 MB, free: 6.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001607/0.4209, allocations: 49.7 kB / 496.8 MB, free: 6.766 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00127/0.4221, allocations: 1.47 MB / 498.3 MB, free: 5.277 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004525/0.4226, allocations: 493 kB / 498.8 MB, free: 4.789 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006056/0.4232, allocations: 307.3 kB / 499.1 MB, free: 4.484 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.674e-05/0.4233, allocations: 313 kB / 499.4 MB, free: 4.176 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/0.4245, allocations: 0.6676 MB / 0.4883 GB, free: 3.508 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001531/0.426, allocations: 1.209 MB / 0.4895 GB, free: 2.078 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00275/0.4288, allocations: 1.943 MB / 0.4914 GB, free: 15.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.458e-05/0.4288, allocations: 4 kB / 0.4914 GB, free: 15.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004349/0.4332, allocations: 2.428 MB / 0.4938 GB, free: 13.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.298e-05/0.4332, allocations: 12 kB / 0.4938 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.104e-05/0.4333, allocations: 16 kB / 0.4938 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007991/0.4341, allocations: 287.3 kB / 0.4941 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/0.4354, allocations: 375.4 kB / 0.4944 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005995/0.4415, allocations: 6.378 MB / 0.5007 GB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/0.443, allocations: 91.92 kB / 0.5007 GB, free: 5.887 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002025/0.4433, allocations: 79.92 kB / 0.5008 GB, free: 5.809 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.002306/0.4456, allocations: 1.032 MB / 0.5018 GB, free: 4.766 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005374/0.4461, allocations: 193.7 kB / 0.502 GB, free: 4.574 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004341/0.4505, allocations: 2.265 MB / 0.5042 GB, free: 2.242 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/0.4505, allocations: 12 kB / 0.5042 GB, free: 2.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.981e-05/0.4505, allocations: 12 kB / 0.5042 GB, free: 2.219 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/0.4505, allocations: 7.969 kB / 0.5043 GB, free: 2.211 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009357/0.4599, allocations: 5.091 MB / 0.5092 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.585e-06/0.4599, allocations: 0 / 0.5092 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008183/0.4608, allocations: 191.8 kB / 0.5094 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001246/0.462, allocations: 460 kB / 0.5098 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/0.4622, allocations: 39.92 kB / 0.5099 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01099/0.4732, allocations: 11.15 MB / 0.5208 GB, free: 460 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4732, allocations: 0 / 0.5208 GB, free: 460 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005269/0.4785, allocations: 3.145 MB / 0.5238 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009421/0.4794, allocations: 430.5 kB / 0.5243 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004722/0.4799, allocations: 39.98 kB / 0.5243 GB, free: 12.74 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.481, allocations: 59.95 kB / 0.5244 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002552/0.4813, allocations: 109.1 kB / 0.5245 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.968e-05/0.4813, allocations: 36 kB / 0.5245 GB, free: 12.54 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002228/0.4836, allocations: 1.311 MB / 0.5258 GB, free: 11.24 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4836, allocations: 0 / 0.5258 GB, free: 11.24 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002402/0.486, allocations: 0.5898 MB / 0.5263 GB, free: 10.65 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.001227/0.4872, allocations: 484.6 kB / 0.5268 GB, free: 10.34 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004031/0.4913, allocations: 2.179 MB / 0.5289 GB, free: 8.098 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.4913, allocations: 0 / 0.5289 GB, free: 8.098 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00262/0.4939, allocations: 1.587 MB / 0.5305 GB, free: 6.445 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003031/0.497, allocations: 0.5357 MB / 0.531 GB, free: 5.918 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/0.5078, allocations: 5.762 MB / 0.5366 GB, free: 116 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1853/0.6931, allocations: 2.348 MB / 0.5389 GB, free: 128.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001426/0.6946, allocations: 413.5 kB / 0.5393 GB, free: 128.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003428/0.6949, allocations: 133.1 kB / 0.5394 GB, free: 128.2 MB / 462.1 MB Notification: Performance of SimCode: time 5.31e-07/0.695, allocations: 5.078 kB / 0.5395 GB, free: 128.2 MB / 462.1 MB Notification: Performance of Templates: time 0.04231/0.7373, allocations: 30.58 MB / 0.5693 GB, free: 107 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