Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009553/0.0009553, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001388/0.002343, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001028/0.001028, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009753/0.002003, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9333/0.9333, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07568/1.009, allocations: 53.86 MB / 243.8 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.191e-05, allocations: 5.688 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.006172/0.006194, allocations: 7.872 MB / 252.9 MB, free: 5.73 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003557/0.00975, allocations: 2.738 MB / 255.6 MB, free: 2.984 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004197/0.01017, allocations: 27.88 kB / 255.7 MB, free: 2.957 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008679/0.01104, allocations: 0.5362 MB / 256.2 MB, free: 2.418 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006797/0.01172, allocations: 0.5038 MB / 256.7 MB, free: 1.91 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.01204, allocations: 243.7 kB / 256.9 MB, free: 1.672 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001094/0.01314, allocations: 1.49 MB / 258.4 MB, free: 180 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004369/0.01357, allocations: 391.2 kB / 258.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009844/0.01456, allocations: 0.9655 MB / 259.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000501/0.01506, allocations: 466.6 kB / 260.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.01518, allocations: 136 kB / 260.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003649/0.01555, allocations: 172 kB / 260.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002346/0.01578, allocations: 215.2 kB / 260.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004914/0.01627, allocations: 383.3 kB / 261.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009689/0.01724, allocations: 0.86 MB / 262 MB, free: 12.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.776e-05/0.01726, allocations: 0 / 262 MB, free: 12.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.01726, allocations: 0 / 262 MB, free: 12.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.353e-05/0.01728, allocations: 0 / 262 MB, free: 12.59 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.001424/0.01871, allocations: 1.589 MB / 263.6 MB, free: 10.97 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.01874, allocations: 12.62 kB / 263.6 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003504/0.01909, allocations: 289.9 kB / 263.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005796/0.01967, allocations: 0.5098 MB / 264.4 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.789e-05/0.01971, allocations: 74 kB / 264.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.842e-05/0.01978, allocations: 99.98 kB / 264.5 MB, free: 9.945 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006217/0.02041, allocations: 0.7363 MB / 265.3 MB, free: 9.164 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.02043, allocations: 3.953 kB / 265.3 MB, free: 9.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.81e-05/0.02047, allocations: 40 kB / 265.3 MB, free: 9.121 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.02048, allocations: 24 kB / 265.3 MB, free: 9.098 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002618/0.02074, allocations: 241.8 kB / 265.6 MB, free: 8.859 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002287/0.02303, allocations: 2.96 MB / 268.5 MB, free: 5.699 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.02324, allocations: 170.5 kB / 268.7 MB, free: 5.523 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.111e-05/0.0233, allocations: 64.81 kB / 268.8 MB, free: 5.457 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.02333, allocations: 8 kB / 268.8 MB, free: 5.449 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.02335, allocations: 38.56 kB / 268.8 MB, free: 5.402 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.322e-06/0.02335, allocations: 0 / 268.8 MB, free: 5.402 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007871/0.02414, allocations: 0.614 MB / 269.4 MB, free: 4.754 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.02416, allocations: 55.41 kB / 269.5 MB, free: 4.688 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000438/0.0246, allocations: 0.6613 MB / 270.1 MB, free: 4.016 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.02462, allocations: 33.7 kB / 270.2 MB, free: 3.977 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.02481, allocations: 0.5041 MB / 270.7 MB, free: 3.465 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.116e-05/0.02487, allocations: 134.9 kB / 270.8 MB, free: 3.332 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.28e-05/0.02497, allocations: 126.5 kB / 270.9 MB, free: 3.199 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.02507, allocations: 390.6 kB / 271.3 MB, free: 2.809 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.483e-05/0.02512, allocations: 57.84 kB / 271.4 MB, free: 2.754 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.02531, allocations: 397.9 kB / 271.8 MB, free: 2.215 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/0.02561, allocations: 0.4905 MB / 272.3 MB, free: 1.582 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.02561, allocations: 0 / 272.3 MB, free: 1.582 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0003773/0.02599, allocations: 445.8 kB / 272.7 MB, free: 1.137 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.026, allocations: 8 kB / 272.7 MB, free: 1.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.02601, allocations: 8 kB / 272.7 MB, free: 1.121 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.65e-05/0.02611, allocations: 36.78 kB / 272.7 MB, free: 1.082 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003102/0.02642, allocations: 180.2 kB / 272.9 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005437/0.02696, allocations: 1.174 MB / 274.1 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.02716, allocations: 27.95 kB / 274.1 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.02719, allocations: 32 kB / 274.1 MB, free: 15.58 MB / 282.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.0001335/0.02732, allocations: 165.6 kB / 274.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.756e-05/0.02738, allocations: 55.94 kB / 274.4 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000213/0.02759, allocations: 213.5 kB / 274.6 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.02759, allocations: 4 kB / 274.6 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.02759, allocations: 3.938 kB / 274.6 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.0276, allocations: 7.922 kB / 274.6 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006248/0.02822, allocations: 0.6603 MB / 275.2 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.02823, allocations: 0 / 275.2 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.02841, allocations: 83.89 kB / 275.3 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.587e-05/0.0285, allocations: 67.48 kB / 275.4 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.394e-05/0.02856, allocations: 20.78 kB / 275.4 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.02857, allocations: 8 kB / 275.4 MB, free: 14.22 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000451/0.02902, allocations: 1.17 MB / 276.6 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.02902, allocations: 0 / 276.6 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.0293, allocations: 400.9 kB / 277 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.484e-05/0.02935, allocations: 8 kB / 277 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.02949, allocations: 24.05 kB / 277 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.02953, allocations: 28.19 kB / 277 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.02954, allocations: 15.94 kB / 277.1 MB, free: 12.46 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002239/0.02976, allocations: 315.3 kB / 277.4 MB, free: 12.16 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02976, allocations: 0 / 277.4 MB, free: 12.16 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003629/0.03013, allocations: 191.9 kB / 277.6 MB, free: 11.97 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.00014/0.03027, allocations: 96.36 kB / 277.7 MB, free: 11.86 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000335/0.0306, allocations: 383 kB / 278 MB, free: 11.48 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.992e-05/0.03062, allocations: 12.5 kB / 278 MB, free: 11.47 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.03076, allocations: 219.2 kB / 278.3 MB, free: 11.24 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004913/0.03125, allocations: 262.3 kB / 278.5 MB, free: 10.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008365/0.03962, allocations: 1.683 MB / 280.2 MB, free: 9.234 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.03972, allocations: 170.6 kB / 280.4 MB, free: 9.047 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002085/0.03993, allocations: 90.3 kB / 280.4 MB, free: 8.957 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002522/0.04018, allocations: 229.1 kB / 280.7 MB, free: 8.734 MB / 282.7 MB Notification: Performance of SimCode: time 8.21e-07/0.04018, allocations: 0 / 280.7 MB, free: 8.734 MB / 282.7 MB Notification: Performance of Templates: time 0.107/0.1471, allocations: 10.19 MB / 290.9 MB, free: 29.63 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.7653065957129]