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.00152/0.00152, allocations: 102.6 kB / 21.93 MB, free: 5.203 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.001537/0.001537, allocations: 202.2 kB / 25.22 MB, free: 3.145 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.488/1.488, allocations: 207.7 MB / 236.1 MB, free: 9.773 MB / 190.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 52.39 kB / 348.5 MB, free: 9.363 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2808, allocations: 49.16 MB / 397.6 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.01301/0.2938, allocations: 11.74 MB / 409.4 MB, free: 1.652 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01014/0.3039, allocations: 4.515 MB / 413.9 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002867/0.3068, allocations: 87.41 kB / 414 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003899/0.3107, allocations: 1.092 MB / 415.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005524/0.3162, allocations: 1.361 MB / 416.4 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003535/0.3197, allocations: 0.9645 MB / 417.4 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006902/0.3266, allocations: 4.076 MB / 421.5 MB, free: 9.406 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003258/0.3299, allocations: 1.701 MB / 423.2 MB, free: 8.293 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004214/0.3341, allocations: 1.968 MB / 425.1 MB, free: 7.141 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004592/0.3387, allocations: 2.074 MB / 427.2 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001244/0.34, allocations: 0.5078 MB / 427.7 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002747/0.3427, allocations: 0.7303 MB / 428.4 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001451/0.3442, allocations: 1.153 MB / 429.6 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003526/0.3477, allocations: 1.688 MB / 431.3 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009108/0.3568, allocations: 6.831 MB / 438.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.3568, allocations: 4 kB / 438.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3568, allocations: 0 / 438.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001687/0.357, allocations: 0 / 438.1 MB, free: 10.54 MB / 350.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.0127/0.3697, allocations: 4.497 MB / 442.6 MB, free: 5.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.3697, allocations: 15.98 kB / 442.6 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004435/0.3742, allocations: 0.8455 MB / 443.5 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00533/0.3795, allocations: 2.252 MB / 445.7 MB, free: 2.816 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002477/0.3797, allocations: 238.4 kB / 446 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001064/0.3808, allocations: 323.9 kB / 446.3 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01005/0.3908, allocations: 4.435 MB / 450.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-05/0.3909, allocations: 7.953 kB / 450.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003673/0.3913, allocations: 127.9 kB / 450.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000179/0.3915, allocations: 158.4 kB / 451 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007981/0.3995, allocations: 3.609 MB / 454.6 MB, free: 9.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02525/0.4247, allocations: 11.36 MB / 466 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005778/0.4305, allocations: 2.661 MB / 468.6 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002238/0.4327, allocations: 1.253 MB / 469.9 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007167/0.4399, allocations: 3.179 MB / 473.1 MB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001601/0.4415, allocations: 1 MB / 474.1 MB, free: 6.098 MB / 382.1 MB Notification: Performance of pre-optimization done (n=131): time 3.557e-06/0.4415, allocations: 0 / 474.1 MB, free: 6.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.0131/0.4546, allocations: 5.912 MB / 480 MB, free: 136 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001709/0.4548, allocations: 222.9 kB / 480.2 MB, free: 15.86 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002764/0.4575, allocations: 1.7 MB / 481.9 MB, free: 14.15 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001222/0.4577, allocations: 49.7 kB / 481.9 MB, free: 14.1 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001629/0.4593, allocations: 1.524 MB / 483.5 MB, free: 12.56 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005269/0.4598, allocations: 0.5075 MB / 484 MB, free: 12.05 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005017/0.4603, allocations: 311.5 kB / 484.3 MB, free: 11.74 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.4605, allocations: 309 kB / 484.6 MB, free: 11.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.4616, allocations: 0.6637 MB / 485.2 MB, free: 10.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001822/0.4635, allocations: 1.39 MB / 486.6 MB, free: 9.113 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002969/0.4664, allocations: 1.94 MB / 488.6 MB, free: 6.969 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/0.4664, allocations: 4 kB / 488.6 MB, free: 6.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004327/0.4708, allocations: 2.334 MB / 490.9 MB, free: 4.609 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/0.4708, allocations: 12 kB / 490.9 MB, free: 4.598 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/0.4708, allocations: 12 kB / 490.9 MB, free: 4.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007868/0.4716, allocations: 303.5 kB / 491.2 MB, free: 4.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/0.473, allocations: 375.4 kB / 491.6 MB, free: 3.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006827/0.4798, allocations: 5.933 MB / 497.5 MB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.4814, allocations: 100 kB / 497.6 MB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001487/0.4815, allocations: 72 kB / 497.7 MB, free: 13.5 MB / 414.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.002114/0.4836, allocations: 1.051 MB / 498.7 MB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004119/0.4841, allocations: 182.8 kB / 498.9 MB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004334/0.4884, allocations: 2.07 MB / 0.4893 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/0.4884, allocations: 15.98 kB / 0.4893 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.4884, allocations: 8 kB / 0.4893 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-05/0.4884, allocations: 12.11 kB / 0.4893 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008953/0.4974, allocations: 4.213 MB / 0.4934 GB, free: 5.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.4974, allocations: 0 / 0.4934 GB, free: 5.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008263/0.4982, allocations: 183.8 kB / 0.4936 GB, free: 5.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001298/0.4995, allocations: 468.2 kB / 0.494 GB, free: 5.188 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/0.4996, allocations: 39.98 kB / 0.4941 GB, free: 5.148 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01307/0.5127, allocations: 10.4 MB / 0.5042 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.5127, allocations: 4.031 kB / 0.5042 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00591/0.5186, allocations: 2.97 MB / 0.5071 GB, free: 7.211 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/0.5199, allocations: 342.5 kB / 0.5074 GB, free: 6.875 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002722/0.5202, allocations: 39.98 kB / 0.5075 GB, free: 6.836 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008982/0.5211, allocations: 72.03 kB / 0.5076 GB, free: 6.766 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003169/0.5214, allocations: 109.2 kB / 0.5077 GB, free: 6.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/0.5215, allocations: 43.98 kB / 0.5077 GB, free: 6.617 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002012/0.5235, allocations: 1.149 MB / 0.5088 GB, free: 5.473 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5235, allocations: 0 / 0.5088 GB, free: 5.473 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002328/0.5258, allocations: 0.5742 MB / 0.5094 GB, free: 4.898 MB / 430.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.001977/0.5278, allocations: 492.7 kB / 0.5099 GB, free: 4.406 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003984/0.5318, allocations: 2.028 MB / 0.5118 GB, free: 2.336 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.5318, allocations: 1.875 kB / 0.5118 GB, free: 2.336 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002718/0.5345, allocations: 1.527 MB / 0.5133 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002307/0.5368, allocations: 445 kB / 0.5138 GB, free: 316 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/0.5481, allocations: 5.867 MB / 0.5195 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002259/0.5503, allocations: 1.743 MB / 0.5212 GB, free: 8.602 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006033/0.5509, allocations: 139.4 kB / 0.5213 GB, free: 8.469 MB / 446.1 MB Notification: Performance of SimCode: time 1.253e-06/0.5509, allocations: 0 / 0.5213 GB, free: 8.469 MB / 446.1 MB Notification: Performance of Templates: time 0.3207/0.8716, allocations: 114 MB / 0.6326 GB, free: 89.2 MB / 478.1 MB " [Timeout remaining time 659] 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/jenkins1/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/jenkins1/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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 17.030283705331385]