Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001171/0.001171, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001623/0.002793, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0008752/0.0008752, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001159/0.002035, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9736/0.9736, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08561/1.059, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.443e-05, allocations: 5.406 kB / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009202/0.009227, allocations: 7.868 MB / 252.4 MB, free: 6.395 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005589/0.01482, allocations: 2.652 MB / 255.1 MB, free: 3.73 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00121/0.01603, allocations: 27.88 kB / 255.1 MB, free: 3.703 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001646/0.01767, allocations: 0.544 MB / 255.6 MB, free: 3.156 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001632/0.0193, allocations: 0.5039 MB / 256.1 MB, free: 2.648 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005842/0.01989, allocations: 235.7 kB / 256.4 MB, free: 2.418 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001915/0.0218, allocations: 1.498 MB / 257.9 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007042/0.02251, allocations: 387.2 kB / 258.2 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001608/0.02412, allocations: 0.9655 MB / 259.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007745/0.02489, allocations: 466.6 kB / 259.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000206/0.0251, allocations: 132 kB / 259.8 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003989/0.0255, allocations: 176 kB / 260 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00018/0.02568, allocations: 211.2 kB / 260.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004697/0.02614, allocations: 379.3 kB / 260.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.02743, allocations: 0.8639 MB / 261.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.819e-05/0.02745, allocations: 0 / 261.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.02745, allocations: 0 / 261.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.258e-05/0.02749, allocations: 0 / 261.4 MB, free: 13.34 MB / 266.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.002314/0.0298, allocations: 1.589 MB / 263 MB, free: 11.72 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.02984, allocations: 8.031 kB / 263 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004827/0.03032, allocations: 289.9 kB / 263.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007294/0.03105, allocations: 0.5254 MB / 263.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.153e-05/0.0311, allocations: 77.94 kB / 263.9 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-05/0.03118, allocations: 96 kB / 264 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006436/0.03183, allocations: 0.7246 MB / 264.7 MB, free: 9.914 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.03185, allocations: 15.88 kB / 264.7 MB, free: 9.898 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.109e-05/0.03189, allocations: 40 kB / 264.8 MB, free: 9.859 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.03191, allocations: 24 kB / 264.8 MB, free: 9.836 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002955/0.0322, allocations: 229.8 kB / 265 MB, free: 9.609 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002828/0.03503, allocations: 2.968 MB / 268 MB, free: 6.441 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.03527, allocations: 174.5 kB / 268.1 MB, free: 6.262 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.725e-05/0.03534, allocations: 60.83 kB / 268.2 MB, free: 6.199 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.03537, allocations: 8 kB / 268.2 MB, free: 6.191 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.0354, allocations: 38.5 kB / 268.3 MB, free: 6.145 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 2.736e-06/0.0354, allocations: 0 / 268.3 MB, free: 6.145 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.001216/0.03662, allocations: 0.6116 MB / 268.9 MB, free: 5.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.03666, allocations: 59.34 kB / 268.9 MB, free: 5.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005028/0.03716, allocations: 0.6574 MB / 269.6 MB, free: 4.758 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.03718, allocations: 33.7 kB / 269.6 MB, free: 4.719 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002129/0.03739, allocations: 0.5002 MB / 270.1 MB, free: 4.211 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.868e-05/0.03746, allocations: 142.8 kB / 270.3 MB, free: 4.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.03757, allocations: 130.5 kB / 270.4 MB, free: 3.934 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.03769, allocations: 390.6 kB / 270.8 MB, free: 3.543 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.054e-05/0.03775, allocations: 49.97 kB / 270.8 MB, free: 3.496 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.03796, allocations: 401.9 kB / 271.2 MB, free: 2.953 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000346/0.03831, allocations: 490.2 kB / 271.7 MB, free: 2.332 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.03831, allocations: 4 kB / 271.7 MB, free: 2.328 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0004372/0.03875, allocations: 446.2 kB / 272.1 MB, free: 1.883 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.03877, allocations: 12 kB / 272.1 MB, free: 1.871 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.03878, allocations: 8 kB / 272.1 MB, free: 1.863 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001/0.03888, allocations: 36.88 kB / 272.2 MB, free: 1.824 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003304/0.03921, allocations: 175.7 kB / 272.3 MB, free: 1.652 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006078/0.03982, allocations: 1.178 MB / 273.5 MB, free: 392 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.04006, allocations: 36.06 kB / 273.6 MB, free: 356 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.04009, allocations: 32 kB / 273.6 MB, free: 324 kB / 266.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.0001429/0.04023, allocations: 153.5 kB / 273.7 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.877e-05/0.04029, allocations: 55.94 kB / 273.8 MB, free: 104 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/0.04052, allocations: 221.3 kB / 274 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.04053, allocations: 4 kB / 274 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.04053, allocations: 0 / 274 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.04054, allocations: 15.97 kB / 274 MB, free: 15.85 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007723/0.04131, allocations: 0.6601 MB / 274.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.04131, allocations: 0 / 274.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001945/0.04151, allocations: 83.89 kB / 274.8 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.04162, allocations: 71.47 kB / 274.8 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.9e-05/0.04168, allocations: 17.08 kB / 274.9 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.0417, allocations: 11.98 kB / 274.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005208/0.04222, allocations: 1.158 MB / 276 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.04222, allocations: 4 kB / 276 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.04256, allocations: 404.4 kB / 276.4 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.961e-05/0.0426, allocations: 8 kB / 276.4 MB, free: 13.26 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.04276, allocations: 23.92 kB / 276.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.0428, allocations: 28.12 kB / 276.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.04281, allocations: 12 kB / 276.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002526/0.04307, allocations: 311.4 kB / 276.8 MB, free: 12.9 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04307, allocations: 0 / 276.8 MB, free: 12.9 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004196/0.04349, allocations: 187.9 kB / 277 MB, free: 12.71 MB / 282.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.000165/0.04365, allocations: 108.3 kB / 277.1 MB, free: 12.6 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004323/0.04408, allocations: 374.2 kB / 277.5 MB, free: 12.22 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.536e-05/0.04411, allocations: 16.48 kB / 277.5 MB, free: 12.21 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.04425, allocations: 220.9 kB / 277.7 MB, free: 11.98 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000507/0.04476, allocations: 270.9 kB / 278 MB, free: 11.71 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008575/0.05333, allocations: 1.682 MB / 279.6 MB, free: 9.969 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.05345, allocations: 174.5 kB / 279.8 MB, free: 9.777 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002683/0.05372, allocations: 94.23 kB / 279.9 MB, free: 9.684 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002734/0.054, allocations: 217.2 kB / 280.1 MB, free: 9.473 MB / 282.7 MB Notification: Performance of SimCode: time 1.343e-06/0.054, allocations: 4 kB / 280.1 MB, free: 9.469 MB / 282.7 MB Notification: Performance of Templates: time 0.1114/0.1654, allocations: 10.19 MB / 290.3 MB, free: 35.16 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8391808783635497]