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.00147/0.00147, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 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.001623/0.001623, allocations: 164.5 kB / 25.02 MB, free: 8.949 MB / 18.57 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.415/1.415, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 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 2.053e-06/2.053e-06, allocations: 0 / 250.4 MB, free: 7.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.081e-05/3.286e-05, allocations: 6.312 kB / 250.4 MB, free: 7.809 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.02053/0.02056, allocations: 11.76 MB / 262.1 MB, free: 11.99 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01023/0.03079, allocations: 4.526 MB / 266.7 MB, free: 7.453 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002347/0.03314, allocations: 87.44 kB / 266.8 MB, free: 7.367 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003502/0.03664, allocations: 1.107 MB / 267.9 MB, free: 6.254 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005029/0.04167, allocations: 1.382 MB / 269.2 MB, free: 4.863 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003038/0.04471, allocations: 0.9895 MB / 270.2 MB, free: 3.871 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.006461/0.05117, allocations: 4.244 MB / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00304/0.05421, allocations: 1.714 MB / 276.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005312/0.05952, allocations: 2.85 MB / 279 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003444/0.06297, allocations: 1.851 MB / 280.9 MB, free: 9.109 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008931/0.06386, allocations: 0.5078 MB / 281.4 MB, free: 8.602 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001724/0.06558, allocations: 0.7339 MB / 282.1 MB, free: 7.867 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001256/0.06684, allocations: 1.172 MB / 283.3 MB, free: 6.691 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002545/0.06939, allocations: 1.446 MB / 284.7 MB, free: 5.242 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01011/0.07949, allocations: 6.863 MB / 291.6 MB, free: 14.36 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.0795, allocations: 0 / 291.6 MB, free: 14.36 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.0795, allocations: 0 / 291.6 MB, free: 14.36 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002323/0.07974, allocations: 0 / 291.6 MB, free: 14.36 MB / 282.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.01552/0.09526, allocations: 4.458 MB / 296.1 MB, free: 9.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.09531, allocations: 19.92 kB / 296.1 MB, free: 9.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006493/0.1018, allocations: 1.263 MB / 297.4 MB, free: 8.555 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0063/0.1081, allocations: 2.322 MB / 299.7 MB, free: 6.188 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003586/0.1085, allocations: 246.4 kB / 299.9 MB, free: 5.945 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001299/0.1098, allocations: 323.9 kB / 300.2 MB, free: 5.629 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01179/0.1216, allocations: 4.435 MB / 304.7 MB, free: 1.109 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001307/0.1217, allocations: 11.95 kB / 304.7 MB, free: 1.098 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007563/0.1224, allocations: 128 kB / 304.8 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002079/0.1226, allocations: 154.4 kB / 305 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009054/0.1317, allocations: 3.609 MB / 308.6 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02752/0.1592, allocations: 11.61 MB / 320.2 MB, free: 1.297 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006493/0.1657, allocations: 2.658 MB / 322.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002735/0.1684, allocations: 1.253 MB / 324.1 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008558/0.177, allocations: 3.206 MB / 327.3 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001875/0.1789, allocations: 1.004 MB / 328.3 MB, free: 9.199 MB / 314.7 MB Notification: Performance of pre-optimization done (n=131): time 4.207e-06/0.1789, allocations: 0 / 328.3 MB, free: 9.199 MB / 314.7 MB Notification: Performance of matching and sorting (n=139): time 0.01493/0.1938, allocations: 5.959 MB / 334.3 MB, free: 3.184 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002728/0.1941, allocations: 226.9 kB / 334.5 MB, free: 2.914 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003725/0.1978, allocations: 1.7 MB / 336.2 MB, free: 1.203 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001807/0.198, allocations: 53.7 kB / 336.2 MB, free: 1.145 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001909/0.1999, allocations: 1.528 MB / 337.8 MB, free: 15.6 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006561/0.2006, allocations: 0.4919 MB / 338.2 MB, free: 15.1 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006466/0.2012, allocations: 303.4 kB / 338.5 MB, free: 14.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.2014, allocations: 308.9 kB / 338.8 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001478/0.2028, allocations: 0.6598 MB / 339.5 MB, free: 13.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002186/0.205, allocations: 1.405 MB / 340.9 MB, free: 12.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003471/0.2085, allocations: 1.928 MB / 342.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.677e-05/0.2085, allocations: 4 kB / 342.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.005241/0.2138, allocations: 2.413 MB / 345.3 MB, free: 7.586 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/0.2138, allocations: 12 kB / 345.3 MB, free: 7.574 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.519e-05/0.2138, allocations: 16 kB / 345.3 MB, free: 7.559 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001179/0.215, allocations: 339.3 kB / 345.6 MB, free: 7.215 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/0.2167, allocations: 379.4 kB / 346 MB, free: 6.844 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007456/0.2241, allocations: 5.967 MB / 352 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/0.2259, allocations: 92.06 kB / 352 MB, free: 492 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002559/0.2262, allocations: 76 kB / 352.1 MB, free: 416 kB / 330.7 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.1467/0.3729, allocations: 1.03 MB / 353.1 MB, free: 99.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008515/0.3738, allocations: 229.4 kB / 353.4 MB, free: 99.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004476/0.3782, allocations: 2.084 MB / 355.5 MB, free: 99.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/0.3782, allocations: 14.5 kB / 355.5 MB, free: 99.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.634e-05/0.3783, allocations: 7.125 kB / 355.5 MB, free: 99.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.828e-05/0.3783, allocations: 8.297 kB / 355.5 MB, free: 99.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008125/0.3864, allocations: 4.219 MB / 359.7 MB, free: 97.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.3864, allocations: 1.594 kB / 359.7 MB, free: 97.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007706/0.3872, allocations: 186.8 kB / 359.9 MB, free: 97.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00156/0.3888, allocations: 0.5335 MB / 360.4 MB, free: 97.03 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/0.3889, allocations: 34.88 kB / 360.5 MB, free: 97.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008138/0.397, allocations: 10.45 MB / 370.9 MB, free: 88.2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.113e-06/0.397, allocations: 3.844 kB / 370.9 MB, free: 88.2 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004536/0.4015, allocations: 3.015 MB / 373.9 MB, free: 85.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009181/0.4025, allocations: 343.9 kB / 374.3 MB, free: 85.39 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004525/0.4029, allocations: 28 kB / 374.3 MB, free: 85.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.4039, allocations: 64.66 kB / 374.3 MB, free: 85.31 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002987/0.4042, allocations: 114.5 kB / 374.5 MB, free: 85.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.524e-05/0.4043, allocations: 43.62 kB / 374.5 MB, free: 85.21 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00166/0.406, allocations: 1.149 MB / 375.6 MB, free: 84.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.406, allocations: 0 / 375.6 MB, free: 84.07 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002125/0.4081, allocations: 0.5776 MB / 376.2 MB, free: 83.49 MB / 330.7 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.002135/0.4102, allocations: 0.5063 MB / 376.7 MB, free: 83.12 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003208/0.4135, allocations: 2.034 MB / 378.8 MB, free: 81.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.4135, allocations: 4 kB / 378.8 MB, free: 81.06 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002077/0.4155, allocations: 1.512 MB / 380.3 MB, free: 79.51 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002443/0.418, allocations: 454.2 kB / 380.7 MB, free: 79.08 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009561/0.4275, allocations: 5.775 MB / 386.5 MB, free: 73.29 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002157/0.4297, allocations: 1.789 MB / 388.3 MB, free: 71.46 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001418/0.4311, allocations: 389.2 kB / 388.7 MB, free: 71.08 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004591/0.4316, allocations: 128.5 kB / 388.8 MB, free: 70.95 MB / 330.7 MB Notification: Performance of SimCode: time 1.814e-06/0.4316, allocations: 0 / 388.8 MB, free: 70.95 MB / 330.7 MB Notification: Performance of Templates: time 0.03995/0.4715, allocations: 27.52 MB / 416.3 MB, free: 43.39 MB / 330.7 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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 8.88263481296599]