Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.00151/0.00151, allocations: 119.4 kB / 18.41 MB, free: 4.516 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.001974/0.001974, allocations: 188.3 kB / 21.34 MB, free: 1.59 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.617/1.617, allocations: 222.9 MB / 247 MB, free: 4.328 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.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 43.92 kB / 358.7 MB, free: 8.445 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09341/0.09493, allocations: 49.44 MB / 408.1 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.008959/0.1039, allocations: 7.137 MB / 415.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004027/0.108, allocations: 2.341 MB / 417.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005066/0.1085, allocations: 23.88 kB / 417.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001258/0.1098, allocations: 0.4892 MB / 418.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008597/0.1107, allocations: 385 kB / 418.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.1111, allocations: 199.7 kB / 418.7 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001205/0.1123, allocations: 1.206 MB / 419.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006642/0.113, allocations: 0.4959 MB / 420.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005398/0.1135, allocations: 466.1 kB / 420.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005818/0.1141, allocations: 489.8 kB / 421.3 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.1142, allocations: 116 kB / 421.4 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002944/0.1146, allocations: 160 kB / 421.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001885/0.1147, allocations: 227.1 kB / 421.8 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005174/0.1153, allocations: 0.5482 MB / 422.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.1168, allocations: 1.44 MB / 423.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1168, allocations: 0 / 423.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1168, allocations: 0 / 423.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.592e-05/0.1168, allocations: 4 kB / 423.8 MB, free: 7.184 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.001992/0.1188, allocations: 1.269 MB / 425.1 MB, free: 5.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.1189, allocations: 15.89 kB / 425.1 MB, free: 5.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00046/0.1194, allocations: 144.2 kB / 425.2 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.1204, allocations: 0.6538 MB / 425.9 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.053e-05/0.1204, allocations: 62.38 kB / 425.9 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.1205, allocations: 80.33 kB / 426 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.1219, allocations: 0.7871 MB / 426.8 MB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/0.1219, allocations: 4 kB / 426.8 MB, free: 4.047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-05/0.122, allocations: 32 kB / 426.8 MB, free: 4.016 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.122, allocations: 20 kB / 426.8 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.123, allocations: 0.5269 MB / 427.4 MB, free: 3.473 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2144/0.3374, allocations: 3.364 MB / 430.7 MB, free: 22.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005368/0.338, allocations: 222.9 kB / 431 MB, free: 22.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/0.3382, allocations: 115 kB / 431.1 MB, free: 22.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.3383, allocations: 5.344 kB / 431.1 MB, free: 22.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.3383, allocations: 40.41 kB / 431.1 MB, free: 21.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 2.104e-06/0.3383, allocations: 1.5 kB / 431.1 MB, free: 21.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001974/0.3403, allocations: 1.056 MB / 432.2 MB, free: 21.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.3403, allocations: 83.38 kB / 432.3 MB, free: 21.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008247/0.3411, allocations: 0.7358 MB / 433 MB, free: 21.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.3412, allocations: 30.8 kB / 433 MB, free: 21.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/0.3414, allocations: 0.5023 MB / 433.5 MB, free: 21.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.197e-05/0.3415, allocations: 109.5 kB / 433.6 MB, free: 21.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.3416, allocations: 118.8 kB / 433.7 MB, free: 21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.677e-05/0.3417, allocations: 375 kB / 434.1 MB, free: 20.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002583/0.342, allocations: 125.4 kB / 434.2 MB, free: 20.69 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003434/0.3423, allocations: 418.7 kB / 434.6 MB, free: 20.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006223/0.3429, allocations: 0.5736 MB / 435.2 MB, free: 19.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.343, allocations: 4 kB / 435.2 MB, free: 19.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009574/0.3439, allocations: 0.6151 MB / 435.8 MB, free: 19.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.344, allocations: 12.22 kB / 435.8 MB, free: 19.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.344, allocations: 13.41 kB / 435.9 MB, free: 19.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001605/0.3441, allocations: 29.64 kB / 435.9 MB, free: 19.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004032/0.3446, allocations: 143.5 kB / 436 MB, free: 19.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007859/0.3453, allocations: 1.38 MB / 437.4 MB, free: 18.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000446/0.3458, allocations: 46.92 kB / 437.5 MB, free: 18.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.359e-05/0.3459, allocations: 33.19 kB / 437.5 MB, free: 18.48 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (73): * Single equations (assignments): 72 * 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.0003048/0.3462, allocations: 230.8 kB / 437.7 MB, free: 18.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.3463, allocations: 74.06 kB / 437.8 MB, free: 18.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006501/0.347, allocations: 323.7 kB / 438.1 MB, free: 18.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.347, allocations: 8.344 kB / 438.1 MB, free: 18.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.347, allocations: 2.688 kB / 438.1 MB, free: 18.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.347, allocations: 1.891 kB / 438.1 MB, free: 18.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/0.3486, allocations: 1.099 MB / 439.2 MB, free: 17.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3486, allocations: 2.344 kB / 439.2 MB, free: 17.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/0.3488, allocations: 61.25 kB / 439.3 MB, free: 17.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.268e-05/0.3489, allocations: 25.34 kB / 439.3 MB, free: 17.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.349, allocations: 11.25 kB / 439.3 MB, free: 17.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006229/0.3496, allocations: 1.374 MB / 440.7 MB, free: 16.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3496, allocations: 2.281 kB / 440.7 MB, free: 16.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008206/0.3504, allocations: 0.5609 MB / 441.2 MB, free: 16.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001761/0.3506, allocations: 177.1 kB / 441.4 MB, free: 16.1 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.548e-05/0.3507, allocations: 8.219 kB / 441.4 MB, free: 16.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003064/0.351, allocations: 18.55 kB / 441.4 MB, free: 16.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.659e-05/0.3511, allocations: 29.31 kB / 441.5 MB, free: 16.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.3511, allocations: 13.14 kB / 441.5 MB, free: 16.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006325/0.3518, allocations: 0.5016 MB / 442 MB, free: 16 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.51e-07/0.3518, allocations: 1.125 kB / 442 MB, free: 16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006978/0.3525, allocations: 160.4 kB / 442.1 MB, free: 16 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,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 (27): * Single equations (assignments): 26 * 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.0001829/0.3527, allocations: 126.2 kB / 442.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009187/0.3536, allocations: 463.2 kB / 442.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3536, allocations: 1.281 kB / 442.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003697/0.354, allocations: 238 kB / 443 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009163/0.3549, allocations: 189.7 kB / 443.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.3569, allocations: 1.478 MB / 444.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.3573, allocations: 0.941 MB / 445.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.3575, allocations: 56.73 kB / 445.6 MB, free: 14.08 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3575, allocations: 1.219 kB / 445.6 MB, free: 14.08 MB / 350.1 MB Notification: Performance of Templates: time 0.0193/0.3768, allocations: 13.49 MB / 459.1 MB, free: 9.242 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.578719443990849]