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.001578/0.001578, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.001522/0.001522, allocations: 166 kB / 25.02 MB, free: 8.422 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 1.469/1.469, allocations: 158.6 MB / 186.8 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] 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 2.104e-06/2.104e-06, allocations: 0 / 250.4 MB, free: 3.938 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.81e-05/3.021e-05, allocations: 2.312 kB / 250.4 MB, free: 3.934 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01103/0.01106, allocations: 7.02 MB / 257.4 MB, free: 12.88 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005697/0.01675, allocations: 2.459 MB / 259.8 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001242/0.018, allocations: 27.88 kB / 259.9 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00202/0.02002, allocations: 0.5284 MB / 260.4 MB, free: 9.848 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002502/0.02252, allocations: 0.4923 MB / 260.9 MB, free: 9.352 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.02366, allocations: 251.6 kB / 261.1 MB, free: 9.105 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002729/0.02639, allocations: 1.488 MB / 262.6 MB, free: 7.609 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000943/0.02733, allocations: 371.2 kB / 263 MB, free: 7.223 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001734/0.02907, allocations: 0.8378 MB / 263.8 MB, free: 6.383 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009292/0.02999, allocations: 430.6 kB / 264.2 MB, free: 5.961 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003064/0.0303, allocations: 136 kB / 264.4 MB, free: 5.828 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005207/0.03082, allocations: 171.9 kB / 264.5 MB, free: 5.66 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003037/0.03113, allocations: 282.9 kB / 264.8 MB, free: 5.383 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000836/0.03196, allocations: 450.9 kB / 265.3 MB, free: 4.941 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002636/0.0346, allocations: 1.702 MB / 267 MB, free: 3.234 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.0346, allocations: 8 kB / 267 MB, free: 3.227 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.03461, allocations: 0 / 267 MB, free: 3.227 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.308e-05/0.03466, allocations: 0 / 267 MB, free: 3.227 MB / 250.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.002935/0.03759, allocations: 1.38 MB / 268.4 MB, free: 1.812 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.03764, allocations: 11.98 kB / 268.4 MB, free: 1.801 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007653/0.0384, allocations: 256 kB / 268.6 MB, free: 1.551 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.03981, allocations: 0.6729 MB / 269.3 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.873e-05/0.03989, allocations: 77.98 kB / 269.4 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.04005, allocations: 99.95 kB / 269.5 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/0.04195, allocations: 0.9982 MB / 270.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/0.04198, allocations: 4 kB / 270.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.006e-05/0.04207, allocations: 44 kB / 270.5 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/0.0421, allocations: 24 kB / 270.5 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001338/0.04344, allocations: 0.6168 MB / 271.1 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005561/0.049, allocations: 3.419 MB / 274.6 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006049/0.0496, allocations: 262.5 kB / 274.8 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003323/0.04994, allocations: 133.3 kB / 275 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.04997, allocations: 4 kB / 275 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.05001, allocations: 42.48 kB / 275 MB, free: 10.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.543e-06/0.05001, allocations: 0 / 275 MB, free: 10.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.00278/0.05279, allocations: 1.056 MB / 276.1 MB, free: 9.762 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.556e-05/0.05288, allocations: 84.97 kB / 276.1 MB, free: 9.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/0.05447, allocations: 0.7542 MB / 276.9 MB, free: 8.902 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.592e-05/0.05452, allocations: 29.7 kB / 276.9 MB, free: 8.867 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007325/0.05526, allocations: 0.5967 MB / 277.5 MB, free: 8.262 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/0.05543, allocations: 134.9 kB / 277.6 MB, free: 8.129 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002802/0.05571, allocations: 122.6 kB / 277.8 MB, free: 8.004 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000329/0.05604, allocations: 382.8 kB / 278.1 MB, free: 7.621 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004778/0.05652, allocations: 145.9 kB / 278.3 MB, free: 7.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009196/0.05744, allocations: 481.9 kB / 278.8 MB, free: 6.863 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.05892, allocations: 0.6353 MB / 279.4 MB, free: 6.086 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.05893, allocations: 4 kB / 279.4 MB, free: 6.082 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00176/0.06069, allocations: 0.7197 MB / 280.1 MB, free: 5.352 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.06071, allocations: 8 kB / 280.1 MB, free: 5.344 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-05/0.06074, allocations: 12 kB / 280.1 MB, free: 5.332 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002137/0.06095, allocations: 41.5 kB / 280.2 MB, free: 5.289 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005466/0.0615, allocations: 155.7 kB / 280.3 MB, free: 5.137 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.06294, allocations: 1.264 MB / 281.6 MB, free: 3.766 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005243/0.06347, allocations: 36.08 kB / 281.6 MB, free: 3.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.228e-05/0.06352, allocations: 36 kB / 281.7 MB, free: 3.695 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.0004643/0.06398, allocations: 253.6 kB / 281.9 MB, free: 3.438 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.06415, allocations: 99.47 kB / 282 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008461/0.06499, allocations: 365.4 kB / 282.4 MB, free: 2.969 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.065, allocations: 7.938 kB / 282.4 MB, free: 2.961 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.06501, allocations: 0 / 282.4 MB, free: 2.961 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.06501, allocations: 4 kB / 282.4 MB, free: 2.957 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001966/0.06698, allocations: 1.035 MB / 283.4 MB, free: 1.863 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.06698, allocations: 4 kB / 283.4 MB, free: 1.859 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003352/0.06732, allocations: 68.12 kB / 283.5 MB, free: 1.793 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.998e-05/0.06742, allocations: 28.84 kB / 283.5 MB, free: 1.762 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.06744, allocations: 8 kB / 283.5 MB, free: 1.754 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/0.06868, allocations: 1.248 MB / 284.8 MB, free: 412 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.06868, allocations: 0 / 284.8 MB, free: 412 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.06988, allocations: 0.6369 MB / 285.4 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002393/0.07012, allocations: 111.4 kB / 285.5 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.55e-05/0.07021, allocations: 8 kB / 285.5 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003791/0.07059, allocations: 23.97 kB / 285.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.474e-05/0.07067, allocations: 31.89 kB / 285.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.07069, allocations: 16 kB / 285.6 MB, free: 15.54 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008109/0.07151, allocations: 0.4951 MB / 286.1 MB, free: 15.05 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.07151, allocations: 0 / 286.1 MB, free: 15.05 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007928/0.0723, allocations: 195.9 kB / 286.3 MB, free: 14.86 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.0002736/0.07257, allocations: 119.2 kB / 286.4 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.07369, allocations: 0.4945 MB / 286.9 MB, free: 14.23 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.0737, allocations: 4 kB / 286.9 MB, free: 14.22 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004832/0.07418, allocations: 262.4 kB / 287.1 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009946/0.07518, allocations: 194.2 kB / 287.3 MB, free: 13.77 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002996/0.07817, allocations: 1.615 MB / 288.9 MB, free: 12.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005267/0.0787, allocations: 400.8 kB / 289.3 MB, free: 11.66 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003466/0.07905, allocations: 102.3 kB / 289.4 MB, free: 11.56 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.07917, allocations: 48.5 kB / 289.5 MB, free: 11.52 MB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.07917, allocations: 0 / 289.5 MB, free: 11.52 MB / 282.7 MB Notification: Performance of Templates: time 0.01937/0.09854, allocations: 8.975 MB / 298.5 MB, free: 2.57 MB / 282.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: 4.885230620042421]