Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002337/0.002337, allocations: 209.9 kB / 24.49 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.42/1.42, allocations: 230.6 MB / 258.3 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,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.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,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.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 55.84 kB / 379.1 MB, free: 2.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2312, allocations: 53.36 MB / 432.4 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01681/0.248, allocations: 14.21 MB / 446.6 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01033/0.2583, allocations: 5.251 MB / 451.9 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002473/0.2608, allocations: 99.38 kB / 452 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003534/0.2644, allocations: 1.161 MB / 453.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00477/0.2691, allocations: 1.437 MB / 454.6 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00293/0.2721, allocations: 1.028 MB / 455.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005981/0.278, allocations: 4.131 MB / 459.7 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002865/0.2809, allocations: 1.813 MB / 461.5 MB, free: 9.621 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003222/0.2841, allocations: 1.982 MB / 463.5 MB, free: 7.633 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004178/0.2883, allocations: 2.332 MB / 465.9 MB, free: 5.293 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001227/0.2895, allocations: 0.5117 MB / 466.4 MB, free: 4.781 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002222/0.2918, allocations: 0.7731 MB / 467.1 MB, free: 4.008 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001289/0.293, allocations: 1.149 MB / 468.3 MB, free: 2.855 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003137/0.2962, allocations: 2.151 MB / 470.4 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008879/0.3051, allocations: 6.867 MB / 477.3 MB, free: 9.805 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3051, allocations: 4 kB / 477.3 MB, free: 9.801 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3051, allocations: 0 / 477.3 MB, free: 9.801 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000178/0.3052, allocations: 4 kB / 477.3 MB, free: 9.797 MB / 382.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.01197/0.3172, allocations: 4.539 MB / 481.9 MB, free: 5.199 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.3173, allocations: 8.031 kB / 481.9 MB, free: 5.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004305/0.3216, allocations: 0.83 MB / 482.7 MB, free: 4.359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005411/0.327, allocations: 2.439 MB / 485.1 MB, free: 1.871 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002391/0.3272, allocations: 242.4 kB / 485.4 MB, free: 1.633 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000782/0.328, allocations: 323.9 kB / 485.7 MB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008023/0.336, allocations: 4.296 MB / 490 MB, free: 12.97 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.14e-05/0.3361, allocations: 7.953 kB / 490 MB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002974/0.3364, allocations: 128 kB / 490.1 MB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001593/0.3365, allocations: 154.4 kB / 490.3 MB, free: 12.69 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006569/0.3431, allocations: 3.633 MB / 493.9 MB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0222/0.3653, allocations: 13.05 MB / 0.4951 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005373/0.3707, allocations: 2.718 MB / 0.4977 GB, free: 9.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002968/0.3737, allocations: 1.526 MB / 0.4992 GB, free: 7.547 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00744/0.3811, allocations: 3.831 MB / 0.503 GB, free: 3.684 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001411/0.3825, allocations: 0.8728 MB / 0.5038 GB, free: 2.777 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 2.855e-06/0.3825, allocations: 0 / 0.5038 GB, free: 2.777 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.01291/0.3954, allocations: 6.139 MB / 0.5098 GB, free: 12.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001446/0.3956, allocations: 226.9 kB / 0.51 GB, free: 12.31 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002871/0.3984, allocations: 1.936 MB / 0.5119 GB, free: 10.33 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001165/0.3985, allocations: 49.7 kB / 0.512 GB, free: 10.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00146/0.4, allocations: 1.529 MB / 0.5134 GB, free: 8.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004799/0.4005, allocations: 0.5036 MB / 0.5139 GB, free: 8.223 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004782/0.401, allocations: 311.5 kB / 0.5142 GB, free: 7.914 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.4011, allocations: 305.1 kB / 0.5145 GB, free: 7.613 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/0.4023, allocations: 0.6754 MB / 0.5152 GB, free: 6.938 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001616/0.4039, allocations: 1.225 MB / 0.5164 GB, free: 5.488 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002829/0.4067, allocations: 1.966 MB / 0.5183 GB, free: 3.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.355e-06/0.4067, allocations: 4 kB / 0.5183 GB, free: 3.316 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004474/0.4112, allocations: 2.44 MB / 0.5207 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.4112, allocations: 10.81 kB / 0.5207 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/0.4112, allocations: 20.28 kB / 0.5207 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008655/0.4121, allocations: 347.1 kB / 0.5211 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.4135, allocations: 371.4 kB / 0.5214 GB, free: 116 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007056/0.4205, allocations: 6.483 MB / 0.5277 GB, free: 9.289 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/0.4221, allocations: 87.91 kB / 0.5278 GB, free: 9.203 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/0.4222, allocations: 76.23 kB / 0.5279 GB, free: 9.129 MB / 446.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.001861/0.4241, allocations: 1.04 MB / 0.5289 GB, free: 8.078 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004152/0.4245, allocations: 218.6 kB / 0.5291 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004255/0.4288, allocations: 2.182 MB / 0.5312 GB, free: 5.652 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/0.4288, allocations: 19.94 kB / 0.5313 GB, free: 5.633 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.4288, allocations: 4 kB / 0.5313 GB, free: 5.629 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.68e-05/0.4288, allocations: 11.97 kB / 0.5313 GB, free: 5.617 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009225/0.438, allocations: 5.035 MB / 0.5362 GB, free: 500 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.438, allocations: 0 / 0.5362 GB, free: 500 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008076/0.4388, allocations: 179.8 kB / 0.5364 GB, free: 320 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2/0.6389, allocations: 0.4993 MB / 0.5369 GB, free: 98.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002408/0.6391, allocations: 40.39 kB / 0.5369 GB, free: 98.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009025/0.6481, allocations: 11.04 MB / 0.5477 GB, free: 90.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.6481, allocations: 8.391 kB / 0.5477 GB, free: 90.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004732/0.6529, allocations: 3.077 MB / 0.5507 GB, free: 89.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009083/0.6538, allocations: 376.5 kB / 0.5511 GB, free: 89.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002716/0.654, allocations: 31.66 kB / 0.5511 GB, free: 88.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008323/0.6549, allocations: 63.94 kB / 0.5511 GB, free: 88.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002427/0.6551, allocations: 110.7 kB / 0.5512 GB, free: 88.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.206e-05/0.6552, allocations: 38.06 kB / 0.5513 GB, free: 88.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001487/0.6567, allocations: 1.33 MB / 0.5526 GB, free: 88.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6567, allocations: 0 / 0.5526 GB, free: 88.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001813/0.6585, allocations: 0.6032 MB / 0.5532 GB, free: 88.34 MB / 446.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.001617/0.6601, allocations: 486.7 kB / 0.5536 GB, free: 88.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002841/0.663, allocations: 2.09 MB / 0.5557 GB, free: 87.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.663, allocations: 0 / 0.5557 GB, free: 87.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001938/0.6649, allocations: 1.541 MB / 0.5572 GB, free: 86.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002074/0.667, allocations: 0.5527 MB / 0.5577 GB, free: 86.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00799/0.675, allocations: 5.901 MB / 0.5635 GB, free: 82.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001367/0.6763, allocations: 2.305 MB / 0.5657 GB, free: 80.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004635/0.6768, allocations: 157.5 kB / 0.5659 GB, free: 80.71 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.6768, allocations: 0 / 0.5659 GB, free: 80.71 MB / 446.1 MB Notification: Performance of Templates: time 0.0952/0.772, allocations: 115.7 MB / 0.6789 GB, free: 13.36 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 17.038070973940194]