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.0009668/0.0009668, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001246/0.001246, allocations: 167.2 kB / 25.7 MB, free: 8.441 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 0.9187/0.9187, allocations: 158.6 MB / 187.6 MB, free: 2.793 MB / 170.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..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.[0-9,]+.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..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.663e-06/1.663e-06, allocations: 0 / 251.6 MB, free: 7.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.37e-05/2.536e-05, allocations: 10.25 kB / 251.6 MB, free: 7.191 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.01152/0.01155, allocations: 12.9 MB / 264.5 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008153/0.0197, allocations: 4.832 MB / 269.3 MB, free: 5.375 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002011/0.02171, allocations: 87.44 kB / 269.4 MB, free: 5.289 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002827/0.02454, allocations: 1.122 MB / 270.5 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003448/0.02799, allocations: 1.393 MB / 271.9 MB, free: 2.758 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001973/0.02996, allocations: 0.9856 MB / 272.9 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004488/0.03445, allocations: 4.244 MB / 277.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002498/0.03695, allocations: 1.769 MB / 278.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004123/0.04107, allocations: 2.979 MB / 281.9 MB, free: 8.656 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003052/0.04412, allocations: 1.988 MB / 283.9 MB, free: 6.664 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001234/0.04536, allocations: 0.5 MB / 284.4 MB, free: 6.164 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001961/0.04732, allocations: 0.7534 MB / 285.2 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001109/0.04843, allocations: 1.172 MB / 286.3 MB, free: 4.234 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002215/0.05064, allocations: 1.454 MB / 287.8 MB, free: 2.777 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004126/0.05477, allocations: 3.489 MB / 291.3 MB, free: 15.28 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.05477, allocations: 4 kB / 291.3 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.05478, allocations: 0 / 291.3 MB, free: 15.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001378/0.05491, allocations: 0 / 291.3 MB, free: 15.27 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.006968/0.06188, allocations: 4.343 MB / 295.6 MB, free: 10.88 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.06192, allocations: 11.98 kB / 295.6 MB, free: 10.86 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002673/0.06459, allocations: 1.12 MB / 296.7 MB, free: 9.742 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002205/0.06679, allocations: 1.386 MB / 298.1 MB, free: 8.301 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.06692, allocations: 242.4 kB / 298.4 MB, free: 8.062 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003278/0.06724, allocations: 319.9 kB / 298.7 MB, free: 7.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00331/0.07056, allocations: 2.432 MB / 301.1 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.757e-05/0.07061, allocations: 3.984 kB / 301.1 MB, free: 5.227 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001845/0.0708, allocations: 132 kB / 301.2 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001073/0.0709, allocations: 154.4 kB / 301.4 MB, free: 4.945 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001635/0.07254, allocations: 0.9431 MB / 302.3 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01068/0.08322, allocations: 8.228 MB / 310.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002094/0.08532, allocations: 1.702 MB / 312.3 MB, free: 9.742 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006568/0.08597, allocations: 0.5818 MB / 312.9 MB, free: 9.164 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003198/0.08917, allocations: 1.859 MB / 314.7 MB, free: 7.281 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005339/0.08971, allocations: 0.6277 MB / 315.3 MB, free: 6.582 MB / 298.7 MB Notification: Performance of pre-optimization done (n=131): time 2.385e-06/0.08971, allocations: 4 kB / 315.3 MB, free: 6.578 MB / 298.7 MB Notification: Performance of matching and sorting (n=139): time 0.005454/0.09516, allocations: 3.037 MB / 318.4 MB, free: 3.488 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.994e-05/0.09526, allocations: 222.9 kB / 318.6 MB, free: 3.223 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.09655, allocations: 1.297 MB / 319.9 MB, free: 1.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.306e-05/0.09661, allocations: 53.7 kB / 320 MB, free: 1.852 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00107/0.09768, allocations: 1.296 MB / 321.2 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002871/0.09797, allocations: 499.6 kB / 321.7 MB, free: 48 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003113/0.09828, allocations: 311.3 kB / 322 MB, free: 15.74 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.742e-05/0.09836, allocations: 305.1 kB / 322.3 MB, free: 15.44 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002744/0.09863, allocations: 190.7 kB / 322.5 MB, free: 15.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005546/0.09919, allocations: 0.8796 MB / 323.4 MB, free: 14.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009194/0.1001, allocations: 1.041 MB / 324.4 MB, free: 12.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/0.1001, allocations: 8 kB / 324.5 MB, free: 12.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=221) (initialization): time 0.001392/0.1015, allocations: 1.108 MB / 325.6 MB, free: 11.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.1015, allocations: 12 kB / 325.6 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/0.1015, allocations: 16 kB / 325.6 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004457/0.102, allocations: 238.3 kB / 325.8 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008711/0.1029, allocations: 427.3 kB / 326.2 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003124/0.106, allocations: 4.719 MB / 331 MB, free: 6.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007759/0.1068, allocations: 80.08 kB / 331 MB, free: 5.941 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.739e-05/0.1068, allocations: 55.98 kB / 331.1 MB, free: 5.887 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * 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 (198): * Single equations (assignments): 194 * 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.0006362/0.1075, allocations: 224.1 kB / 331.3 MB, free: 5.656 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/0.1077, allocations: 159.7 kB / 331.5 MB, free: 5.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001321/0.109, allocations: 1.012 MB / 332.5 MB, free: 4.457 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.109, allocations: 12 kB / 332.5 MB, free: 4.445 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.109, allocations: 8 kB / 332.5 MB, free: 4.438 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.109, allocations: 7.969 kB / 332.5 MB, free: 4.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003685/0.1127, allocations: 2.594 MB / 335.1 MB, free: 1.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.1127, allocations: 4 kB / 335.1 MB, free: 1.766 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004379/0.1131, allocations: 187.8 kB / 335.3 MB, free: 1.582 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007078/0.1139, allocations: 367.3 kB / 335.6 MB, free: 1.211 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.081e-05/0.1139, allocations: 31.98 kB / 335.7 MB, free: 1.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004963/0.1189, allocations: 8.229 MB / 343.9 MB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1189, allocations: 4 kB / 343.9 MB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/0.1206, allocations: 1.323 MB / 345.2 MB, free: 7.121 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004316/0.121, allocations: 202.7 kB / 345.4 MB, free: 6.922 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.1212, allocations: 35.98 kB / 345.5 MB, free: 6.887 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003776/0.1216, allocations: 52.11 kB / 345.5 MB, free: 6.836 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002169/0.1218, allocations: 109.1 kB / 345.6 MB, free: 6.727 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.713e-05/0.1218, allocations: 27.98 kB / 345.6 MB, free: 6.699 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006532/0.1225, allocations: 0.5999 MB / 346.2 MB, free: 6.102 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1225, allocations: 0 / 346.2 MB, free: 6.102 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001531/0.124, allocations: 0.578 MB / 346.8 MB, free: 5.523 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.001223/0.1252, allocations: 0.5609 MB / 347.4 MB, free: 5.004 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001487/0.1267, allocations: 1.207 MB / 348.6 MB, free: 3.754 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.981e-05/0.1268, allocations: 23.69 kB / 348.6 MB, free: 3.734 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001264/0.128, allocations: 1.159 MB / 349.8 MB, free: 2.508 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.1291, allocations: 461 kB / 350.2 MB, free: 2.055 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1087/0.2378, allocations: 4.858 MB / 355.1 MB, free: 80.67 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007135/0.2385, allocations: 0.6503 MB / 355.7 MB, free: 80.55 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008925/0.2394, allocations: 263.4 kB / 356 MB, free: 80.53 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007888/0.2402, allocations: 454.9 kB / 356.4 MB, free: 80.47 MB / 330.7 MB Notification: Performance of SimCode: time 2.946e-06/0.2402, allocations: 0 / 356.4 MB, free: 80.47 MB / 330.7 MB Notification: Performance of Templates: time 0.03527/0.2755, allocations: 29.6 MB / 386 MB, free: 60.92 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 5.633737009949982]