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.001456/0.001456, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.001602/0.001602, allocations: 168.3 kB / 25.7 MB, free: 8.449 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.8525/0.8525, allocations: 158.6 MB / 187.6 MB, free: 2.797 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.883e-06/1.883e-06, allocations: 0 / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.609e-05, allocations: 6.25 kB / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.01382/0.01385, allocations: 12.85 MB / 264.4 MB, free: 10.33 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01583/0.02968, allocations: 4.843 MB / 269.2 MB, free: 5.473 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005578/0.03526, allocations: 87.44 kB / 269.3 MB, free: 5.387 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006517/0.04177, allocations: 1.114 MB / 270.4 MB, free: 4.266 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01137/0.05314, allocations: 1.409 MB / 271.9 MB, free: 2.848 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005935/0.05908, allocations: 0.9933 MB / 272.8 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.008648/0.06773, allocations: 4.24 MB / 277.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004019/0.07175, allocations: 1.769 MB / 278.9 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006211/0.07796, allocations: 2.979 MB / 281.8 MB, free: 8.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003685/0.08164, allocations: 1.995 MB / 283.8 MB, free: 6.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001354/0.08299, allocations: 0.5 MB / 284.3 MB, free: 6.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001646/0.08464, allocations: 0.7338 MB / 285.1 MB, free: 5.516 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009515/0.08559, allocations: 1.176 MB / 286.2 MB, free: 4.336 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001274/0.08687, allocations: 1.446 MB / 287.7 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003119/0.08999, allocations: 3.497 MB / 291.2 MB, free: 15.38 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.08999, allocations: 0 / 291.2 MB, free: 15.38 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.08999, allocations: 0 / 291.2 MB, free: 15.38 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.623e-05/0.09008, allocations: 0 / 291.2 MB, free: 15.38 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.004904/0.09498, allocations: 4.343 MB / 295.5 MB, free: 10.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.09501, allocations: 11.98 kB / 295.5 MB, free: 10.97 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00228/0.09729, allocations: 1.117 MB / 296.7 MB, free: 9.852 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00181/0.0991, allocations: 1.39 MB / 298 MB, free: 8.406 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.09922, allocations: 242.4 kB / 298.3 MB, free: 8.168 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003085/0.09953, allocations: 331.9 kB / 298.6 MB, free: 7.844 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00239/0.1019, allocations: 2.428 MB / 301 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.713e-05/0.102, allocations: 0 / 301 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001954/0.1022, allocations: 136 kB / 301.2 MB, free: 5.195 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.682e-05/0.1023, allocations: 150.4 kB / 301.3 MB, free: 5.047 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/0.1036, allocations: 0.947 MB / 302.3 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008078/0.1117, allocations: 8.225 MB / 310.5 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/0.1137, allocations: 1.707 MB / 312.2 MB, free: 9.836 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006201/0.1143, allocations: 0.5701 MB / 312.8 MB, free: 9.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0024/0.1167, allocations: 1.863 MB / 314.6 MB, free: 7.383 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004848/0.1172, allocations: 0.6277 MB / 315.3 MB, free: 6.684 MB / 298.7 MB Notification: Performance of pre-optimization done (n=131): time 3.106e-06/0.1172, allocations: 4 kB / 315.3 MB, free: 6.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=139): time 0.004216/0.1214, allocations: 3.037 MB / 318.3 MB, free: 3.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.53e-05/0.1215, allocations: 226.9 kB / 318.5 MB, free: 3.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00094/0.1224, allocations: 1.305 MB / 319.8 MB, free: 2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.897e-05/0.1224, allocations: 49.7 kB / 319.9 MB, free: 1.945 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005732/0.123, allocations: 1.292 MB / 321.2 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002441/0.1233, allocations: 495.7 kB / 321.6 MB, free: 152 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002918/0.1236, allocations: 303.3 kB / 321.9 MB, free: 15.85 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.5e-05/0.1236, allocations: 309.1 kB / 322.2 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.1239, allocations: 186.7 kB / 322.4 MB, free: 15.36 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005354/0.1244, allocations: 0.8913 MB / 323.3 MB, free: 14.19 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008127/0.1252, allocations: 1.041 MB / 324.4 MB, free: 12.93 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.1252, allocations: 7.938 kB / 324.4 MB, free: 12.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=221) (initialization): time 0.00118/0.1264, allocations: 1.112 MB / 325.5 MB, free: 11.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.1264, allocations: 12 kB / 325.5 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.1264, allocations: 19.98 kB / 325.5 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003969/0.1268, allocations: 219.5 kB / 325.7 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006756/0.1275, allocations: 371.4 kB / 326.1 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002468/0.13, allocations: 4.714 MB / 330.8 MB, free: 6.188 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004582/0.1304, allocations: 76.08 kB / 330.9 MB, free: 6.113 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.887e-05/0.1305, allocations: 59.98 kB / 330.9 MB, free: 6.055 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.0003666/0.1309, allocations: 224.2 kB / 331.1 MB, free: 5.824 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.131, allocations: 155.8 kB / 331.3 MB, free: 5.672 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.1322, allocations: 1.012 MB / 332.3 MB, free: 4.629 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.1322, allocations: 15.98 kB / 332.3 MB, free: 4.613 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1322, allocations: 8 kB / 332.3 MB, free: 4.605 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.1322, allocations: 7.969 kB / 332.3 MB, free: 4.598 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002686/0.1349, allocations: 2.586 MB / 334.9 MB, free: 1.945 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.1349, allocations: 8.125 kB / 334.9 MB, free: 1.938 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003715/0.1353, allocations: 163.8 kB / 335.1 MB, free: 1.777 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006242/0.1359, allocations: 371.2 kB / 335.5 MB, free: 1.402 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.398e-05/0.136, allocations: 31.98 kB / 335.5 MB, free: 1.371 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00425/0.1402, allocations: 8.202 MB / 343.7 MB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1402, allocations: 0 / 343.7 MB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.1416, allocations: 1.331 MB / 345 MB, free: 7.328 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002949/0.1419, allocations: 194.7 kB / 345.2 MB, free: 7.137 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.142, allocations: 39.94 kB / 345.3 MB, free: 7.098 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003449/0.1424, allocations: 47.97 kB / 345.3 MB, free: 7.051 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.1425, allocations: 117 kB / 345.4 MB, free: 6.934 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.166e-05/0.1426, allocations: 28 kB / 345.4 MB, free: 6.906 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004665/0.143, allocations: 0.596 MB / 346 MB, free: 6.312 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.143, allocations: 0 / 346 MB, free: 6.312 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001078/0.1441, allocations: 0.582 MB / 346.6 MB, free: 5.73 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.001122/0.1452, allocations: 0.5587 MB / 347.2 MB, free: 5.215 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001113/0.1463, allocations: 1.204 MB / 348.4 MB, free: 3.969 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.427e-05/0.1464, allocations: 21.81 kB / 348.4 MB, free: 3.949 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008726/0.1472, allocations: 1.164 MB / 349.6 MB, free: 2.719 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009177/0.1481, allocations: 461.1 kB / 350 MB, free: 2.266 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1026/0.2507, allocations: 4.856 MB / 354.9 MB, free: 80.74 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005721/0.2513, allocations: 0.6571 MB / 355.5 MB, free: 80.61 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007962/0.2521, allocations: 249.8 kB / 355.8 MB, free: 80.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006462/0.2527, allocations: 450.3 kB / 356.2 MB, free: 80.54 MB / 330.7 MB Notification: Performance of SimCode: time 2.083e-06/0.2527, allocations: 3.469 kB / 356.2 MB, free: 80.54 MB / 330.7 MB Notification: Performance of Templates: time 0.03098/0.2837, allocations: 29.26 MB / 385.5 MB, free: 61.35 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 -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: 6.010568923782557]