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.001446/0.001446, allocations: 88.28 kB / 20.96 MB, free: 3.449 MB / 18.57 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.00157/0.00157, allocations: 156.9 kB / 24.26 MB, free: 152 kB / 18.57 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 1.48/1.48, allocations: 177 MB / 204.5 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] 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 2.194e-06/2.194e-06, allocations: 0 / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.257e-05/3.477e-05, allocations: 6.312 kB / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01089/0.01093, allocations: 7.072 MB / 279.3 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005116/0.01604, allocations: 2.447 MB / 281.7 MB, free: 8.238 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/0.01707, allocations: 27.88 kB / 281.8 MB, free: 8.211 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001916/0.01898, allocations: 0.5245 MB / 282.3 MB, free: 7.684 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001278/0.02026, allocations: 0.5 MB / 282.8 MB, free: 7.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004963/0.02076, allocations: 251.6 kB / 283 MB, free: 6.934 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001894/0.02265, allocations: 1.486 MB / 284.5 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006922/0.02334, allocations: 371.2 kB / 284.9 MB, free: 5.055 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001334/0.02468, allocations: 0.8533 MB / 285.7 MB, free: 4.199 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007213/0.0254, allocations: 426.6 kB / 286.1 MB, free: 3.781 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001848/0.02558, allocations: 136 kB / 286.3 MB, free: 3.648 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000339/0.02592, allocations: 168 kB / 286.4 MB, free: 3.484 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002593/0.02618, allocations: 278.9 kB / 286.7 MB, free: 3.211 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005703/0.02675, allocations: 454.9 kB / 287.2 MB, free: 2.766 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00219/0.02894, allocations: 1.702 MB / 288.9 MB, free: 1.059 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.02895, allocations: 3.938 kB / 288.9 MB, free: 1.055 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.02895, allocations: 0 / 288.9 MB, free: 1.055 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.804e-05/0.02897, allocations: 0 / 288.9 MB, free: 1.055 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.1122/0.1412, allocations: 1.375 MB / 290.2 MB, free: 28.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.1412, allocations: 13.92 kB / 290.3 MB, free: 28.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006453/0.1419, allocations: 251.6 kB / 290.5 MB, free: 28.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.143, allocations: 0.6849 MB / 291.2 MB, free: 28.47 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.734e-05/0.1431, allocations: 73.12 kB / 291.3 MB, free: 28.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.1432, allocations: 97.41 kB / 291.4 MB, free: 28.4 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/0.1447, allocations: 0.9979 MB / 292.3 MB, free: 27.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.196e-05/0.1448, allocations: 7.266 kB / 292.4 MB, free: 27.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.459e-05/0.1448, allocations: 41.12 kB / 292.4 MB, free: 27.85 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.1448, allocations: 23.97 kB / 292.4 MB, free: 27.85 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.146, allocations: 0.6217 MB / 293 MB, free: 27.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00401/0.15, allocations: 3.402 MB / 296.4 MB, free: 25.26 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004985/0.1505, allocations: 263.8 kB / 296.7 MB, free: 25.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002737/0.1508, allocations: 140.3 kB / 296.8 MB, free: 25.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.1508, allocations: 6.5 kB / 296.8 MB, free: 25.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.1508, allocations: 41.42 kB / 296.9 MB, free: 25.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.793e-06/0.1508, allocations: 2.125 kB / 296.9 MB, free: 25.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.002187/0.153, allocations: 1.047 MB / 297.9 MB, free: 24.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.1531, allocations: 82.92 kB / 298 MB, free: 24.37 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009047/0.154, allocations: 0.7547 MB / 298.8 MB, free: 24.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.154, allocations: 31.92 kB / 298.8 MB, free: 23.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003014/0.1543, allocations: 0.5884 MB / 299.4 MB, free: 23.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.889e-05/0.1544, allocations: 138.6 kB / 299.5 MB, free: 23.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.1545, allocations: 125.2 kB / 299.6 MB, free: 23.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1546, allocations: 387.6 kB / 300 MB, free: 22.99 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003262/0.1549, allocations: 147.2 kB / 300.2 MB, free: 22.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004463/0.1554, allocations: 488.1 kB / 300.6 MB, free: 22.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006995/0.1561, allocations: 0.6331 MB / 301.3 MB, free: 21.92 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.1561, allocations: 2.219 kB / 301.3 MB, free: 21.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00112/0.1572, allocations: 0.7155 MB / 302 MB, free: 21.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.1572, allocations: 9.062 kB / 302 MB, free: 21.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.1573, allocations: 11.59 kB / 302 MB, free: 21.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000166/0.1574, allocations: 36.84 kB / 302.1 MB, free: 21.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005325/0.158, allocations: 160.7 kB / 302.2 MB, free: 21.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000717/0.1587, allocations: 1.266 MB / 303.5 MB, free: 20.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005486/0.1592, allocations: 37.67 kB / 303.5 MB, free: 20.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.16e-05/0.1593, allocations: 32.88 kB / 303.5 MB, free: 20.31 MB / 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.0003002/0.1596, allocations: 256.2 kB / 303.8 MB, free: 20.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.1597, allocations: 94.03 kB / 303.9 MB, free: 20.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006836/0.1604, allocations: 371 kB / 304.3 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1604, allocations: 3.906 kB / 304.3 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.1604, allocations: 0 / 304.3 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.1604, allocations: 2.547 kB / 304.3 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/0.1619, allocations: 1.042 MB / 305.3 MB, free: 19.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.1619, allocations: 2.75 kB / 305.3 MB, free: 19.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003063/0.1622, allocations: 69.16 kB / 305.4 MB, free: 19.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.502e-05/0.1623, allocations: 28.64 kB / 305.4 MB, free: 19.26 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.914e-05/0.1624, allocations: 12.06 kB / 305.4 MB, free: 19.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005711/0.1629, allocations: 1.248 MB / 306.7 MB, free: 18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.1629, allocations: 6.219 kB / 306.7 MB, free: 18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009232/0.1638, allocations: 0.6331 MB / 307.3 MB, free: 17.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001889/0.164, allocations: 109 kB / 307.4 MB, free: 17.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.394e-05/0.1641, allocations: 8.406 kB / 307.4 MB, free: 17.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003715/0.1645, allocations: 21.64 kB / 307.4 MB, free: 17.54 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.159e-05/0.1646, allocations: 33.05 kB / 307.5 MB, free: 17.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.1646, allocations: 13.03 kB / 307.5 MB, free: 17.53 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006075/0.1652, allocations: 0.5023 MB / 308 MB, free: 17.29 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1652, allocations: 0 / 308 MB, free: 17.29 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000674/0.1659, allocations: 187.5 kB / 308.2 MB, free: 17.27 MB / 266.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.166, allocations: 125.4 kB / 308.3 MB, free: 17.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007822/0.1668, allocations: 0.4908 MB / 308.8 MB, free: 16.72 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1668, allocations: 4.125 kB / 308.8 MB, free: 16.71 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003204/0.1671, allocations: 258.5 kB / 309 MB, free: 16.45 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009894/0.1681, allocations: 189.4 kB / 309.2 MB, free: 16.29 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.1702, allocations: 1.617 MB / 310.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.1705, allocations: 409 kB / 311.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002685/0.1708, allocations: 98 kB / 311.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.1709, allocations: 48.5 kB / 311.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of SimCode: time 2.114e-06/0.1709, allocations: 0 / 311.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of Templates: time 0.01389/0.1848, allocations: 8.965 MB / 320.3 MB, free: 5.305 MB / 266.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.784721608040854]