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.0007767/0.0007767, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001074/0.001851, allocations: 457.8 kB / 10.45 MB, free: 244 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.0006822/0.0006822, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008555/0.001538, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.9459/0.9459, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0896/1.035, allocations: 53.88 MB / 243.9 MB, free: 14.85 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.272e-06/1.272e-06, allocations: 0 / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.659e-05/1.786e-05, allocations: 2.312 kB / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.006295/0.006313, allocations: 7.861 MB / 253.1 MB, free: 5.641 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004234/0.01055, allocations: 2.742 MB / 255.8 MB, free: 2.891 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009821/0.01153, allocations: 27.88 kB / 255.8 MB, free: 2.863 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.01279, allocations: 0.5479 MB / 256.4 MB, free: 2.312 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001386/0.01418, allocations: 0.5038 MB / 256.9 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004488/0.01463, allocations: 247.7 kB / 257.1 MB, free: 1.562 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001625/0.01625, allocations: 1.49 MB / 258.6 MB, free: 68 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005547/0.01681, allocations: 383.2 kB / 259 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001373/0.01818, allocations: 0.9655 MB / 260 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006671/0.01885, allocations: 466.6 kB / 260.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.01899, allocations: 132 kB / 260.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003235/0.01932, allocations: 172 kB / 260.7 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.01944, allocations: 207.3 kB / 260.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003269/0.01976, allocations: 387.2 kB / 261.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009747/0.02074, allocations: 0.8678 MB / 262.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.195e-05/0.02075, allocations: 0 / 262.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.02075, allocations: 0 / 262.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.058e-05/0.02078, allocations: 0 / 262.2 MB, free: 12.49 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.001921/0.0227, allocations: 1.589 MB / 263.8 MB, free: 10.87 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.02274, allocations: 8.625 kB / 263.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003993/0.02314, allocations: 281.9 kB / 264 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006695/0.0238, allocations: 0.5254 MB / 264.6 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.412e-05/0.02385, allocations: 70 kB / 264.6 MB, free: 9.941 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.556e-05/0.02394, allocations: 104 kB / 264.7 MB, free: 9.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006486/0.02459, allocations: 0.7285 MB / 265.5 MB, free: 9.066 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.02461, allocations: 3.953 kB / 265.5 MB, free: 9.062 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.851e-05/0.02465, allocations: 44 kB / 265.5 MB, free: 9.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.02467, allocations: 28 kB / 265.5 MB, free: 8.992 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002741/0.02494, allocations: 237.8 kB / 265.8 MB, free: 8.758 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002546/0.02749, allocations: 2.96 MB / 268.7 MB, free: 5.598 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.02771, allocations: 169.5 kB / 268.9 MB, free: 5.426 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.373e-05/0.02777, allocations: 72.81 kB / 269 MB, free: 5.352 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.02779, allocations: 4 kB / 269 MB, free: 5.348 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.02781, allocations: 34.56 kB / 269 MB, free: 5.305 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.883e-06/0.02782, allocations: 0 / 269 MB, free: 5.305 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0008645/0.02868, allocations: 0.6296 MB / 269.6 MB, free: 4.641 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.0287, allocations: 55.41 kB / 269.7 MB, free: 4.574 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004491/0.02915, allocations: 0.6613 MB / 270.3 MB, free: 3.902 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.02917, allocations: 29.7 kB / 270.4 MB, free: 3.867 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004403/0.02961, allocations: 0.5041 MB / 270.9 MB, free: 3.355 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.264e-05/0.02967, allocations: 134.9 kB / 271 MB, free: 3.223 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.764e-05/0.02977, allocations: 130.5 kB / 271.1 MB, free: 3.086 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.02987, allocations: 386.6 kB / 271.5 MB, free: 2.699 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.538e-05/0.02993, allocations: 53.97 kB / 271.6 MB, free: 2.648 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.03012, allocations: 401.8 kB / 272 MB, free: 2.102 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/0.03046, allocations: 0.5156 MB / 272.5 MB, free: 1.445 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.03046, allocations: 0 / 272.5 MB, free: 1.445 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0003992/0.03086, allocations: 450 kB / 272.9 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.03087, allocations: 8 kB / 272.9 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.03089, allocations: 12 kB / 272.9 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001055/0.03099, allocations: 28.84 kB / 273 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003069/0.0313, allocations: 175.7 kB / 273.1 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006044/0.0319, allocations: 1.174 MB / 274.3 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.03214, allocations: 39.94 kB / 274.4 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.03216, allocations: 24 kB / 274.4 MB, free: 15.45 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.0001303/0.03229, allocations: 169.4 kB / 274.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.65e-05/0.03234, allocations: 64 kB / 274.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.03256, allocations: 217.5 kB / 274.8 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.03256, allocations: 4 kB / 274.8 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.03256, allocations: 0 / 274.8 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.03257, allocations: 3.938 kB / 274.8 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006604/0.03323, allocations: 0.6563 MB / 275.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.03323, allocations: 4 kB / 275.5 MB, free: 14.26 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.03341, allocations: 80.11 kB / 275.6 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.03352, allocations: 75.47 kB / 275.6 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-05/0.03358, allocations: 16.86 kB / 275.7 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.03359, allocations: 8 kB / 275.7 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004956/0.03409, allocations: 1.174 MB / 276.8 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.03409, allocations: 3.984 kB / 276.8 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002902/0.03438, allocations: 396.9 kB / 277.2 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.565e-05/0.03442, allocations: 16 kB / 277.2 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003937/0.03482, allocations: 23.92 kB / 277.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.03486, allocations: 28.19 kB / 277.3 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.03488, allocations: 8 kB / 277.3 MB, free: 12.32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002359/0.03511, allocations: 311.4 kB / 277.6 MB, free: 12.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03511, allocations: 0 / 277.6 MB, free: 12.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003874/0.0355, allocations: 191.9 kB / 277.8 MB, free: 11.83 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.000152/0.03565, allocations: 100.3 kB / 277.9 MB, free: 11.72 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000377/0.03603, allocations: 395.3 kB / 278.3 MB, free: 11.32 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.273e-05/0.03605, allocations: 16.48 kB / 278.3 MB, free: 11.31 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.03621, allocations: 227.3 kB / 278.5 MB, free: 11.07 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009635/0.03718, allocations: 1.94 MB / 280.5 MB, free: 8.746 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00836/0.04554, allocations: 1.685 MB / 282.1 MB, free: 6.996 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.04566, allocations: 174.6 kB / 282.3 MB, free: 6.805 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002566/0.04591, allocations: 98.27 kB / 282.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002734/0.04619, allocations: 217.2 kB / 282.6 MB, free: 6.496 MB / 282.7 MB Notification: Performance of SimCode: time 1.393e-06/0.04619, allocations: 0 / 282.6 MB, free: 6.496 MB / 282.7 MB Notification: Performance of Templates: time 0.1167/0.1629, allocations: 9.844 MB / 292.5 MB, free: 26.7 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.927177262492478]