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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001579/0.001579, allocations: 96.25 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001541/0.001541, allocations: 160.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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=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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 272.2 MB, free: 1.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.762e-05/2.914e-05, allocations: 3.578 kB / 272.2 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01838/0.01841, allocations: 12.35 MB / 284.6 MB, free: 5.352 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01052/0.02892, allocations: 4.961 MB / 289.5 MB, free: 384 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001734/0.03066, allocations: 103.4 kB / 289.6 MB, free: 280 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1098/0.1404, allocations: 1.102 MB / 290.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003939/0.1444, allocations: 1.464 MB / 292.2 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002356/0.1467, allocations: 0.9775 MB / 293.2 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004665/0.1514, allocations: 4.32 MB / 297.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002295/0.1537, allocations: 1.747 MB / 299.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00411/0.1578, allocations: 2.876 MB / 302.1 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002585/0.1604, allocations: 1.858 MB / 304 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007738/0.1611, allocations: 0.5075 MB / 304.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/0.1627, allocations: 0.7633 MB / 305.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007315/0.1635, allocations: 1.175 MB / 306.4 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001587/0.165, allocations: 1.447 MB / 307.9 MB, free: 9.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00539/0.1704, allocations: 6.921 MB / 314.8 MB, free: 4.445 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1704, allocations: 2.312 kB / 314.8 MB, free: 4.445 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1704, allocations: 0 / 314.8 MB, free: 4.445 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001245/0.1706, allocations: 0 / 314.8 MB, free: 4.445 MB / 266.7 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.01004/0.1806, allocations: 4.496 MB / 319.3 MB, free: 15.92 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.1807, allocations: 15.98 kB / 319.3 MB, free: 15.9 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005482/0.1861, allocations: 1.247 MB / 320.6 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005498/0.1916, allocations: 2.521 MB / 323.1 MB, free: 12.2 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002662/0.1919, allocations: 241.8 kB / 323.3 MB, free: 11.96 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007441/0.1927, allocations: 325.8 kB / 323.6 MB, free: 11.65 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00924/0.2019, allocations: 4.448 MB / 328.1 MB, free: 7.125 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.777e-05/0.202, allocations: 15.27 kB / 328.1 MB, free: 7.117 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003629/0.2023, allocations: 130.7 kB / 328.2 MB, free: 6.992 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002082/0.2025, allocations: 154.4 kB / 328.4 MB, free: 6.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007343/0.2099, allocations: 3.628 MB / 332 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02244/0.2323, allocations: 11.62 MB / 343.6 MB, free: 7.602 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005922/0.2382, allocations: 2.715 MB / 346.3 MB, free: 5.047 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003255/0.2415, allocations: 1.53 MB / 347.9 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007742/0.2492, allocations: 3.478 MB / 351.3 MB, free: 64 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001725/0.251, allocations: 1.027 MB / 352.4 MB, free: 14.97 MB / 314.7 MB Notification: Performance of pre-optimization done (n=132): time 3.196e-06/0.251, allocations: 4 kB / 352.4 MB, free: 14.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=140): time 0.01537/0.2663, allocations: 6.18 MB / 358.6 MB, free: 8.773 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001857/0.2665, allocations: 226.9 kB / 358.8 MB, free: 8.504 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003025/0.2695, allocations: 1.722 MB / 360.5 MB, free: 6.773 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001673/0.2697, allocations: 53.7 kB / 360.6 MB, free: 6.715 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001791/0.2715, allocations: 1.537 MB / 362.1 MB, free: 5.168 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006128/0.2721, allocations: 0.4946 MB / 362.6 MB, free: 4.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005726/0.2727, allocations: 311.5 kB / 362.9 MB, free: 4.371 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.2729, allocations: 301.1 kB / 363.2 MB, free: 4.074 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001345/0.2742, allocations: 0.6832 MB / 363.9 MB, free: 3.391 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00224/0.2764, allocations: 1.399 MB / 365.3 MB, free: 1.727 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003299/0.2797, allocations: 1.971 MB / 367.2 MB, free: 15.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/0.2798, allocations: 4 kB / 367.2 MB, free: 15.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.005018/0.2848, allocations: 2.498 MB / 369.7 MB, free: 13.2 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.2848, allocations: 11.94 kB / 369.7 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.571e-05/0.2848, allocations: 16.28 kB / 369.8 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/0.2861, allocations: 391.6 kB / 370.1 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/0.2877, allocations: 375.6 kB / 370.5 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00844/0.2961, allocations: 6.388 MB / 376.9 MB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/0.2977, allocations: 87.91 kB / 377 MB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000186/0.2979, allocations: 80.11 kB / 377.1 MB, free: 5.637 MB / 330.7 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.002059/0.2999, allocations: 1.035 MB / 378.1 MB, free: 4.613 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007528/0.3007, allocations: 242 kB / 378.3 MB, free: 4.379 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004764/0.3055, allocations: 2.16 MB / 380.5 MB, free: 2.207 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.342e-05/0.3055, allocations: 19.98 kB / 380.5 MB, free: 2.188 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.3055, allocations: 4 kB / 380.5 MB, free: 2.184 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/0.3055, allocations: 7.984 kB / 380.5 MB, free: 2.176 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009343/0.3149, allocations: 4.353 MB / 384.9 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/0.3149, allocations: 0 / 384.9 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009083/0.3158, allocations: 178.6 kB / 385.1 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002241/0.318, allocations: 0.5816 MB / 385.6 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001493/0.3182, allocations: 40.17 kB / 385.7 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01427/0.3324, allocations: 10.85 MB / 396.5 MB, free: 1.742 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.3324, allocations: 0 / 396.5 MB, free: 1.742 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006443/0.3389, allocations: 3.123 MB / 399.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/0.34, allocations: 354.5 kB / 400 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003156/0.3403, allocations: 36 kB / 400 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/0.3415, allocations: 63.89 kB / 400.1 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003389/0.3419, allocations: 109.1 kB / 400.2 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.342, allocations: 39.98 kB / 400.2 MB, free: 14.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00213/0.3441, allocations: 1.166 MB / 401.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3441, allocations: 0 / 401.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002543/0.3466, allocations: 0.5859 MB / 402 MB, free: 12.27 MB / 362.7 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 (100): * Single equations (assignments): 93 * 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.002295/0.3489, allocations: 499.6 kB / 402.5 MB, free: 11.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004321/0.3532, allocations: 2.09 MB / 404.6 MB, free: 9.895 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.3533, allocations: 4 kB / 404.6 MB, free: 9.891 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002933/0.3562, allocations: 1.554 MB / 406.1 MB, free: 8.297 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002768/0.359, allocations: 488.8 kB / 406.6 MB, free: 7.828 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/0.371, allocations: 5.787 MB / 412.4 MB, free: 1.984 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002545/0.3736, allocations: 1.806 MB / 414.2 MB, free: 148 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001438/0.375, allocations: 391.5 kB / 414.6 MB, free: 15.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003851/0.3754, allocations: 124.5 kB / 414.7 MB, free: 15.64 MB / 378.7 MB Notification: Performance of SimCode: time 1.442e-06/0.3754, allocations: 0 / 414.7 MB, free: 15.64 MB / 378.7 MB Notification: Performance of Templates: time 0.1629/0.5383, allocations: 28.28 MB / 443 MB, free: 112.3 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (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) [Timeout 480] 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.1.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) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 9.837424295023084]