Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.00125/0.00125, allocations: 112.5 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001332/0.001332, allocations: 209.9 kB / 24.49 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.384/1.384, allocations: 230.6 MB / 258.2 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 43.92 kB / 379 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2442, allocations: 53.36 MB / 432.4 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.008789/0.253, allocations: 7.221 MB / 439.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004003/0.257, allocations: 2.399 MB / 442 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005116/0.2575, allocations: 23.88 kB / 442 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.2587, allocations: 0.5123 MB / 442.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008504/0.2596, allocations: 417 kB / 443 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000586/0.2602, allocations: 203.8 kB / 443.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001323/0.2615, allocations: 1.199 MB / 444.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006957/0.2622, allocations: 340.5 kB / 444.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000684/0.2629, allocations: 482.2 kB / 445.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00062/0.2635, allocations: 0.4899 MB / 445.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001324/0.2636, allocations: 112 kB / 445.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003104/0.2639, allocations: 160 kB / 445.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001789/0.2641, allocations: 231.1 kB / 446.1 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005529/0.2647, allocations: 0.5443 MB / 446.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001582/0.2662, allocations: 1.436 MB / 448.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2662, allocations: 0 / 448.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2662, allocations: 0 / 448.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.2663, allocations: 0 / 448.1 MB, free: 7.129 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.002056/0.2683, allocations: 1.202 MB / 449.3 MB, free: 5.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.2683, allocations: 12.03 kB / 449.3 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005607/0.2689, allocations: 156.1 kB / 449.5 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.27, allocations: 0.5765 MB / 450.1 MB, free: 5.121 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.59e-05/0.27, allocations: 58.38 kB / 450.1 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.2701, allocations: 88.27 kB / 450.2 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.2714, allocations: 0.7754 MB / 451 MB, free: 4.172 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.23e-05/0.2714, allocations: 11.94 kB / 451 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.38e-05/0.2715, allocations: 32 kB / 451 MB, free: 4.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.2715, allocations: 16 kB / 451 MB, free: 4.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.2725, allocations: 0.5192 MB / 451.6 MB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004116/0.2767, allocations: 3.274 MB / 454.8 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005145/0.2772, allocations: 214.5 kB / 455 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.2774, allocations: 116.8 kB / 455.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/0.2774, allocations: 4 kB / 455.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.2775, allocations: 30.56 kB / 455.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.843e-06/0.2775, allocations: 0 / 455.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.002163/0.2796, allocations: 0.9207 MB / 456.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.766e-05/0.2797, allocations: 81.34 kB / 456.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.2807, allocations: 0.7311 MB / 456.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.2808, allocations: 29.7 kB / 457 MB, free: 13.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00039/0.2811, allocations: 0.5073 MB / 457.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.699e-05/0.2812, allocations: 115.1 kB / 457.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/0.2814, allocations: 118.2 kB / 457.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.2816, allocations: 370.8 kB / 458.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002744/0.2819, allocations: 125.2 kB / 458.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004951/0.2824, allocations: 422.1 kB / 458.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007854/0.2832, allocations: 0.5792 MB / 459.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.2832, allocations: 4 kB / 459.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00106/0.2842, allocations: 0.6149 MB / 459.8 MB, free: 10.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.2843, allocations: 12.75 kB / 459.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.2843, allocations: 8 kB / 459.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001546/0.2844, allocations: 36.84 kB / 459.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004124/0.2848, allocations: 143.7 kB / 460 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001115/0.286, allocations: 1.287 MB / 461.3 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004228/0.2864, allocations: 35.94 kB / 461.3 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/0.2864, allocations: 31.94 kB / 461.3 MB, free: 9.113 MB / 366.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.0003298/0.2867, allocations: 237.7 kB / 461.6 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.2868, allocations: 79.52 kB / 461.6 MB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006547/0.2875, allocations: 321.4 kB / 462 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.2875, allocations: 4 kB / 462 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.2875, allocations: 0 / 462 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2875, allocations: 48 / 462 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.2892, allocations: 1.068 MB / 463 MB, free: 7.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.2892, allocations: 4 kB / 463 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002604/0.2894, allocations: 59.91 kB / 463.1 MB, free: 7.258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.892e-05/0.2895, allocations: 24.84 kB / 463.1 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.2895, allocations: 8 kB / 463.1 MB, free: 7.223 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/0.2906, allocations: 1.271 MB / 464.4 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.2906, allocations: 3.984 kB / 464.4 MB, free: 5.828 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000925/0.2915, allocations: 0.5571 MB / 465 MB, free: 5.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002396/0.2917, allocations: 95.53 kB / 465.1 MB, free: 5.137 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.539e-05/0.2918, allocations: 8 kB / 465.1 MB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003067/0.2921, allocations: 15.98 kB / 465.1 MB, free: 5.113 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.343e-05/0.2922, allocations: 39.83 kB / 465.1 MB, free: 5.074 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.2922, allocations: 4 kB / 465.1 MB, free: 5.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006954/0.2929, allocations: 0.5069 MB / 465.6 MB, free: 4.566 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2929, allocations: 0 / 465.6 MB, free: 4.566 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006641/0.2936, allocations: 160 kB / 465.8 MB, free: 4.41 MB / 366.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.000187/0.2938, allocations: 123.1 kB / 465.9 MB, free: 4.281 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008986/0.2947, allocations: 448.5 kB / 466.3 MB, free: 3.832 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.2947, allocations: 7.938 kB / 466.3 MB, free: 3.824 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003848/0.295, allocations: 239.8 kB / 466.6 MB, free: 3.578 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008585/0.2959, allocations: 188.9 kB / 466.8 MB, free: 3.402 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00242/0.2983, allocations: 1.476 MB / 468.2 MB, free: 1.867 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005934/0.2989, allocations: 0.9411 MB / 469.2 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.2991, allocations: 51.44 kB / 469.2 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2991, allocations: 0 / 469.2 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of Templates: time 0.01906/0.3181, allocations: 13.56 MB / 482.8 MB, free: 3.316 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.011470157885924]