Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.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.001284/0.001284, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0008489/0.0008489, allocations: 159.4 kB / 25.45 MB, free: 9.352 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.8446/0.8446, allocations: 158.6 MB / 187.2 MB, free: 3.043 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.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 299.7 MB, free: 6.914 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.628e-05/1.766e-05, allocations: 2.281 kB / 299.7 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.005495/0.005512, allocations: 7.001 MB / 306.7 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00336/0.008872, allocations: 2.467 MB / 309.2 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004464/0.009319, allocations: 27.88 kB / 309.2 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000861/0.01018, allocations: 0.5168 MB / 309.7 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000588/0.01077, allocations: 0.4961 MB / 310.2 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.01102, allocations: 251.6 kB / 310.5 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008462/0.01187, allocations: 1.489 MB / 312 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003987/0.01227, allocations: 379.2 kB / 312.3 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005663/0.01283, allocations: 0.8339 MB / 313.2 MB, free: 9.379 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003417/0.01318, allocations: 426.6 kB / 313.6 MB, free: 8.961 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.388e-05/0.01327, allocations: 136 kB / 313.7 MB, free: 8.828 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.01344, allocations: 172 kB / 313.9 MB, free: 8.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.01357, allocations: 282.9 kB / 314.2 MB, free: 8.383 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002498/0.01382, allocations: 454.9 kB / 314.6 MB, free: 7.938 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.01509, allocations: 1.698 MB / 316.3 MB, free: 6.234 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.01509, allocations: 4 kB / 316.3 MB, free: 6.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.0151, allocations: 0 / 316.3 MB, free: 6.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.01511, allocations: 0 / 316.3 MB, free: 6.23 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.001292/0.0164, allocations: 1.384 MB / 317.7 MB, free: 4.809 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.01643, allocations: 11.98 kB / 317.7 MB, free: 4.797 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002874/0.01672, allocations: 180 kB / 317.9 MB, free: 4.621 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007008/0.01742, allocations: 0.6495 MB / 318.5 MB, free: 3.945 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.738e-05/0.01746, allocations: 74 kB / 318.6 MB, free: 3.871 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.212e-05/0.01754, allocations: 95.95 kB / 318.7 MB, free: 3.777 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009171/0.01845, allocations: 1.006 MB / 319.7 MB, free: 2.727 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.01848, allocations: 0 / 319.7 MB, free: 2.727 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.887e-05/0.01852, allocations: 44 kB / 319.7 MB, free: 2.684 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.01854, allocations: 24 kB / 319.8 MB, free: 2.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007128/0.01925, allocations: 0.6207 MB / 320.4 MB, free: 2.035 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002769/0.02202, allocations: 3.345 MB / 323.7 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003417/0.02236, allocations: 266.5 kB / 324 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.02251, allocations: 132.8 kB / 324.1 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.02253, allocations: 4 kB / 324.1 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.02255, allocations: 38.56 kB / 324.2 MB, free: 14.03 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 1.393e-06/0.02255, allocations: 4 kB / 324.2 MB, free: 14.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=35): time 0.001308/0.02386, allocations: 1.041 MB / 325.2 MB, free: 12.95 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.02391, allocations: 89.11 kB / 325.3 MB, free: 12.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006026/0.02451, allocations: 0.7542 MB / 326 MB, free: 12.08 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.02453, allocations: 33.64 kB / 326.1 MB, free: 12.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002605/0.02479, allocations: 0.585 MB / 326.7 MB, free: 11.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.816e-05/0.02485, allocations: 138.9 kB / 326.8 MB, free: 11.31 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.02496, allocations: 126.6 kB / 326.9 MB, free: 11.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.02508, allocations: 378.8 kB / 327.3 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.02527, allocations: 145.9 kB / 327.4 MB, free: 10.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/0.02559, allocations: 485.9 kB / 327.9 MB, free: 10.04 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005383/0.02613, allocations: 0.6356 MB / 328.5 MB, free: 9.262 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.02613, allocations: 4 kB / 328.5 MB, free: 9.258 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001018/0.02715, allocations: 0.6926 MB / 329.2 MB, free: 8.555 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.02717, allocations: 8.156 kB / 329.2 MB, free: 8.547 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.02718, allocations: 16 kB / 329.3 MB, free: 8.531 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001237/0.02731, allocations: 28.84 kB / 329.3 MB, free: 8.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/0.02757, allocations: 163.7 kB / 329.5 MB, free: 8.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000726/0.02829, allocations: 1.264 MB / 330.7 MB, free: 6.973 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.02852, allocations: 44.08 kB / 330.8 MB, free: 6.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.02854, allocations: 32 kB / 330.8 MB, free: 6.898 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002199/0.02876, allocations: 250.1 kB / 331 MB, free: 6.645 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.053e-05/0.02883, allocations: 79.48 kB / 331.1 MB, free: 6.566 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004488/0.02928, allocations: 365.2 kB / 331.5 MB, free: 6.195 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.02929, allocations: 15.88 kB / 331.5 MB, free: 6.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.02929, allocations: 4 kB / 331.5 MB, free: 6.176 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.02929, allocations: 3.984 kB / 331.5 MB, free: 6.172 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.0303, allocations: 1.031 MB / 332.5 MB, free: 5.078 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.0303, allocations: 8.203 kB / 332.5 MB, free: 5.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.03047, allocations: 71.91 kB / 332.6 MB, free: 5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.672e-05/0.03052, allocations: 24.84 kB / 332.6 MB, free: 4.973 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.03054, allocations: 8 kB / 332.6 MB, free: 4.965 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00052/0.03106, allocations: 1.244 MB / 333.9 MB, free: 3.621 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.03106, allocations: 4.156 kB / 333.9 MB, free: 3.617 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005353/0.03159, allocations: 0.6212 MB / 334.5 MB, free: 2.953 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.03172, allocations: 103.5 kB / 334.6 MB, free: 2.852 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.901e-05/0.03176, allocations: 8 kB / 334.6 MB, free: 2.844 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.03192, allocations: 23.98 kB / 334.6 MB, free: 2.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.03197, allocations: 31.89 kB / 334.7 MB, free: 2.789 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.03198, allocations: 15.98 kB / 334.7 MB, free: 2.773 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000394/0.03237, allocations: 0.499 MB / 335.2 MB, free: 2.277 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03237, allocations: 0 / 335.2 MB, free: 2.277 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003755/0.03275, allocations: 191.9 kB / 335.4 MB, free: 2.09 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001607/0.03291, allocations: 123.1 kB / 335.5 MB, free: 1.957 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000565/0.03348, allocations: 499.8 kB / 336 MB, free: 1.457 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.03348, allocations: 4 kB / 336 MB, free: 1.453 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004647/0.03394, allocations: 264 kB / 336.2 MB, free: 1.184 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005198/0.03446, allocations: 189.6 kB / 336.4 MB, free: 1.004 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.03602, allocations: 1.623 MB / 338 MB, free: 15.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.03626, allocations: 404.7 kB / 338.4 MB, free: 14.89 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.347e-05/0.03634, allocations: 56.5 kB / 338.5 MB, free: 14.84 MB / 330.7 MB Notification: Performance of SimCode: time 6.71e-07/0.03634, allocations: 0 / 338.5 MB, free: 14.84 MB / 330.7 MB Notification: Performance of Templates: time 0.1183/0.1546, allocations: 15.82 MB / 354.3 MB, free: 61.03 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.04722692258656]