Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001877/0.001877, allocations: 120.4 kB / 18.41 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002211/0.002211, allocations: 189.3 kB / 21.35 MB, free: 1.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 222.9 MB / 247 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 43.92 kB / 358.7 MB, free: 8.305 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09291/0.09446, allocations: 49.45 MB / 408.1 MB, free: 6.812 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009449/0.1039, allocations: 7.97 MB / 416.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004586/0.1086, allocations: 2.598 MB / 418.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008089/0.1094, allocations: 23.94 kB / 418.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001558/0.111, allocations: 0.5403 MB / 419.2 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001216/0.1122, allocations: 452.4 kB / 419.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004936/0.1127, allocations: 243.7 kB / 419.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001617/0.1144, allocations: 1.431 MB / 421.4 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008036/0.1152, allocations: 0.5846 MB / 421.9 MB, free: 8.902 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007075/0.1159, allocations: 0.5408 MB / 422.5 MB, free: 8.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006754/0.1166, allocations: 0.5794 MB / 423.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001746/0.1168, allocations: 136 kB / 423.2 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003627/0.1171, allocations: 180 kB / 423.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002296/0.1174, allocations: 278.9 kB / 423.6 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006163/0.118, allocations: 0.6415 MB / 424.3 MB, free: 6.551 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001889/0.1199, allocations: 1.708 MB / 426 MB, free: 4.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1199, allocations: 0 / 426 MB, free: 4.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1199, allocations: 3.938 kB / 426 MB, free: 4.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.882e-05/0.12, allocations: 0 / 426 MB, free: 4.832 MB / 350.1 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.002532/0.1225, allocations: 1.467 MB / 427.5 MB, free: 3.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.1226, allocations: 12.03 kB / 427.5 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005512/0.1231, allocations: 176 kB / 427.6 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.1244, allocations: 0.7306 MB / 428.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.506e-05/0.1244, allocations: 70 kB / 428.4 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.1246, allocations: 99.98 kB / 428.5 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.1262, allocations: 0.9229 MB / 429.5 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.24e-05/0.1262, allocations: 3.953 kB / 429.5 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.976e-05/0.1263, allocations: 40 kB / 429.5 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.1263, allocations: 24 kB / 429.5 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.1276, allocations: 0.6246 MB / 430.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.179/0.3066, allocations: 3.879 MB / 434 MB, free: 21.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000511/0.3071, allocations: 355.3 kB / 434.4 MB, free: 20.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/0.3074, allocations: 150.2 kB / 434.5 MB, free: 20.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.3075, allocations: 4.719 kB / 434.5 MB, free: 20.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.3075, allocations: 39.14 kB / 434.6 MB, free: 20.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.064e-06/0.3075, allocations: 0 / 434.6 MB, free: 20.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002083/0.3096, allocations: 1.207 MB / 435.8 MB, free: 20.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.3096, allocations: 87.59 kB / 435.9 MB, free: 20.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009592/0.3106, allocations: 0.8249 MB / 436.7 MB, free: 20.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.3106, allocations: 31.39 kB / 436.7 MB, free: 20.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003009/0.3109, allocations: 0.5784 MB / 437.3 MB, free: 19.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.831e-05/0.311, allocations: 141.8 kB / 437.4 MB, free: 19.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.3112, allocations: 123.3 kB / 437.6 MB, free: 19.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.692e-05/0.3112, allocations: 338.3 kB / 437.9 MB, free: 19.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003559/0.3116, allocations: 151.5 kB / 438 MB, free: 19.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004928/0.3121, allocations: 458 kB / 438.5 MB, free: 19.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007905/0.3129, allocations: 0.638 MB / 439.1 MB, free: 18.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.3129, allocations: 2.781 kB / 439.1 MB, free: 18.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001132/0.3141, allocations: 0.6899 MB / 439.8 MB, free: 18.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.3141, allocations: 13.53 kB / 439.8 MB, free: 18.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.3141, allocations: 11.34 kB / 439.8 MB, free: 18.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001532/0.3143, allocations: 30.06 kB / 439.9 MB, free: 18.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004879/0.3148, allocations: 159.2 kB / 440 MB, free: 18.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007291/0.3155, allocations: 1.383 MB / 441.4 MB, free: 17.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004914/0.316, allocations: 39.67 kB / 441.4 MB, free: 17.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.015e-05/0.3161, allocations: 36.62 kB / 441.5 MB, free: 17.14 MB / 350.1 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.0002977/0.3164, allocations: 266 kB / 441.7 MB, free: 17.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.3165, allocations: 88.97 kB / 441.8 MB, free: 16.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007265/0.3172, allocations: 372.9 kB / 442.2 MB, free: 16.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.3172, allocations: 6.938 kB / 442.2 MB, free: 16.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3172, allocations: 2.766 kB / 442.2 MB, free: 16.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.3172, allocations: 1.594 kB / 442.2 MB, free: 16.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/0.319, allocations: 1.268 MB / 443.5 MB, free: 16.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.3191, allocations: 3.297 kB / 443.5 MB, free: 16.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003208/0.3194, allocations: 73.08 kB / 443.5 MB, free: 16.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.815e-05/0.3195, allocations: 22.91 kB / 443.6 MB, free: 16.47 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.3195, allocations: 12.12 kB / 443.6 MB, free: 16.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006366/0.3202, allocations: 1.379 MB / 445 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3202, allocations: 1.594 kB / 445 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009336/0.3211, allocations: 0.6276 MB / 445.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002007/0.3213, allocations: 188.4 kB / 445.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.214e-05/0.3214, allocations: 12.31 kB / 445.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003653/0.3218, allocations: 25.69 kB / 445.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.69e-05/0.3219, allocations: 32.84 kB / 445.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.3219, allocations: 12.34 kB / 445.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007271/0.3226, allocations: 0.5589 MB / 446.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3227, allocations: 0 / 446.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007332/0.3234, allocations: 189.8 kB / 446.6 MB, free: 14.62 MB / 350.1 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.000176/0.3236, allocations: 128.7 kB / 446.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009308/0.3245, allocations: 0.5182 MB / 447.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3245, allocations: 1.031 kB / 447.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003723/0.3249, allocations: 275.3 kB / 447.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009791/0.3259, allocations: 213.4 kB / 447.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/0.3283, allocations: 1.761 MB / 449.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.3288, allocations: 0.9917 MB / 450.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.3289, allocations: 58.28 kB / 450.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.329, allocations: 4 kB / 450.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of Templates: time 0.02024/0.3492, allocations: 15.83 MB / 466.4 MB, free: 5.055 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 8.882965678931214]