Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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.0017/0.0017, allocations: 84.92 kB / 21.44 MB, free: 296 kB / 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.001739/0.001739, allocations: 161.4 kB / 24.7 MB, free: 3.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.354/1.354, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AIMC_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 299 MB, free: 8.699 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.706e-05/2.894e-05, allocations: 2.281 kB / 299 MB, free: 8.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.01598/0.016, allocations: 11.75 MB / 310.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009548/0.02555, allocations: 4.529 MB / 315.2 MB, free: 8.348 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00212/0.02767, allocations: 87.44 kB / 315.3 MB, free: 8.262 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003347/0.03102, allocations: 1.091 MB / 316.4 MB, free: 7.164 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004476/0.03549, allocations: 1.394 MB / 317.8 MB, free: 5.762 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002866/0.03836, allocations: 0.9778 MB / 318.8 MB, free: 4.781 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006372/0.04473, allocations: 4.244 MB / 323 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1489/0.1936, allocations: 1.703 MB / 324.7 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004283/0.1979, allocations: 2.856 MB / 327.6 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003979/0.2019, allocations: 1.845 MB / 329.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001443/0.2033, allocations: 0.5055 MB / 330 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002219/0.2055, allocations: 0.7428 MB / 330.7 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001306/0.2068, allocations: 1.172 MB / 331.9 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003167/0.21, allocations: 1.439 MB / 333.3 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007273/0.2173, allocations: 6.862 MB / 340.2 MB, free: 13.35 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2173, allocations: 0.7188 kB / 340.2 MB, free: 13.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2173, allocations: 3.938 kB / 340.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001735/0.2175, allocations: 2.062 kB / 340.2 MB, free: 13.34 MB / 302.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.01304/0.2305, allocations: 4.459 MB / 344.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.2306, allocations: 16.36 kB / 344.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00418/0.2347, allocations: 0.837 MB / 345.5 MB, free: 9.922 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004043/0.2388, allocations: 2.26 MB / 347.7 MB, free: 8.406 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/0.2389, allocations: 235.8 kB / 348 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005121/0.2394, allocations: 322.8 kB / 348.3 MB, free: 8.195 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006666/0.2461, allocations: 4.442 MB / 352.7 MB, free: 5.477 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.694e-05/0.2462, allocations: 3.984 kB / 352.7 MB, free: 5.473 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002942/0.2465, allocations: 129 kB / 352.9 MB, free: 5.375 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000116/0.2466, allocations: 152.8 kB / 353 MB, free: 5.352 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004984/0.2516, allocations: 3.608 MB / 356.6 MB, free: 2.492 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01912/0.2707, allocations: 11.37 MB / 368 MB, free: 7.145 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005381/0.2761, allocations: 2.663 MB / 370.7 MB, free: 4.617 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002162/0.2782, allocations: 1.245 MB / 371.9 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006306/0.2845, allocations: 3.182 MB / 375.1 MB, free: 224 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001536/0.2861, allocations: 1.001 MB / 376.1 MB, free: 15.15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=131): time 3.045e-06/0.2861, allocations: 0 / 376.1 MB, free: 15.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=139): time 0.01323/0.2993, allocations: 5.91 MB / 382 MB, free: 9.227 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.2994, allocations: 226.9 kB / 382.2 MB, free: 8.957 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002522/0.302, allocations: 1.7 MB / 383.9 MB, free: 7.246 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.3021, allocations: 49.7 kB / 384 MB, free: 7.191 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001464/0.3035, allocations: 1.526 MB / 385.5 MB, free: 5.656 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004468/0.304, allocations: 0.4975 MB / 386 MB, free: 5.164 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005068/0.3045, allocations: 307.5 kB / 386.3 MB, free: 4.859 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.3046, allocations: 301.1 kB / 386.6 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.3058, allocations: 0.6598 MB / 387.2 MB, free: 3.902 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001736/0.3075, allocations: 1.396 MB / 388.6 MB, free: 2.242 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002911/0.3104, allocations: 1.935 MB / 390.6 MB, free: 168 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.218e-06/0.3104, allocations: 8 kB / 390.6 MB, free: 160 kB / 334.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004288/0.3147, allocations: 2.336 MB / 392.9 MB, free: 13.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.178e-05/0.3147, allocations: 15.94 kB / 392.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.209e-05/0.3148, allocations: 16 kB / 392.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007829/0.3156, allocations: 291.5 kB / 393.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/0.317, allocations: 375.4 kB / 393.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006466/0.3235, allocations: 5.939 MB / 399.5 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/0.325, allocations: 92.12 kB / 399.6 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/0.3252, allocations: 76 kB / 399.7 MB, free: 6.859 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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.002029/0.3272, allocations: 1.039 MB / 400.7 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004011/0.3276, allocations: 198.7 kB / 400.9 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00424/0.3319, allocations: 2.058 MB / 403 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.3319, allocations: 16 kB / 403 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.3319, allocations: 8 kB / 403 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.3319, allocations: 11.92 kB / 403 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007987/0.3399, allocations: 4.215 MB / 407.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.3399, allocations: 4 kB / 407.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008148/0.3407, allocations: 186.3 kB / 407.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001269/0.342, allocations: 461.2 kB / 407.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.961e-05/0.3421, allocations: 31.98 kB / 407.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01106/0.3531, allocations: 10.41 MB / 418.3 MB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3531, allocations: 0 / 418.3 MB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005484/0.3586, allocations: 2.964 MB / 421.3 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/0.3597, allocations: 338.6 kB / 421.6 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002688/0.36, allocations: 35.98 kB / 421.7 MB, free: 448 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008956/0.3608, allocations: 67.95 kB / 421.7 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003001/0.3611, allocations: 116.8 kB / 421.8 MB, free: 264 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.299e-05/0.3612, allocations: 43.98 kB / 421.9 MB, free: 220 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0019/0.3631, allocations: 1.145 MB / 423 MB, free: 15.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3631, allocations: 0 / 423 MB, free: 15.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002274/0.3654, allocations: 0.5781 MB / 423.6 MB, free: 14.5 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (103): * Single equations (assignments): 96 * 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,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.001944/0.3674, allocations: 0.4896 MB / 424.1 MB, free: 14.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003835/0.3712, allocations: 2.024 MB / 426.1 MB, free: 12.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.3712, allocations: 10 kB / 426.1 MB, free: 12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002539/0.3737, allocations: 1.51 MB / 427.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002625/0.3764, allocations: 456.9 kB / 428.1 MB, free: 10 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/0.3872, allocations: 5.682 MB / 433.8 MB, free: 4.293 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002259/0.3895, allocations: 1.797 MB / 435.6 MB, free: 2.461 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00139/0.3909, allocations: 383.3 kB / 435.9 MB, free: 2.082 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003757/0.3913, allocations: 124.5 kB / 436.1 MB, free: 1.961 MB / 382.1 MB Notification: Performance of SimCode: time 1.152e-06/0.3913, allocations: 4 kB / 436.1 MB, free: 1.957 MB / 382.1 MB Notification: Performance of Templates: time 0.05271/0.444, allocations: 27.39 MB / 463.4 MB, free: 6.586 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Conveyor/AIMC_Conveyor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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: 8.807035405188799]