Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.001306/0.001306, allocations: 107.5 kB / 20.44 MB, free: 1.203 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.002043/0.002043, allocations: 184 kB / 23.7 MB, free: 4.434 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.472/1.472, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 47.92 kB / 370.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2359, allocations: 52.18 MB / 422.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009855/0.2458, allocations: 7.056 MB / 429.6 MB, free: 7.312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004723/0.2505, allocations: 2.435 MB / 432.1 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007003/0.2512, allocations: 27.94 kB / 432.1 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.2525, allocations: 482.8 kB / 432.6 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001014/0.2536, allocations: 432.8 kB / 433 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004698/0.254, allocations: 219.6 kB / 433.2 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001431/0.2555, allocations: 1.23 MB / 434.4 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000598/0.2561, allocations: 350.5 kB / 434.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006459/0.2567, allocations: 0.4942 MB / 435.3 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006288/0.2573, allocations: 449.7 kB / 435.7 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000153/0.2575, allocations: 116 kB / 435.8 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002997/0.2578, allocations: 152 kB / 436 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.258, allocations: 239.1 kB / 436.2 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004913/0.2585, allocations: 461.9 kB / 436.7 MB, free: 248 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001703/0.2602, allocations: 1.479 MB / 438.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2602, allocations: 0 / 438.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2602, allocations: 4 kB / 438.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.959e-05/0.2602, allocations: 0 / 438.1 MB, free: 14.75 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002388/0.2626, allocations: 1.26 MB / 439.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.2626, allocations: 8.031 kB / 439.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000164/0.2628, allocations: 131.5 kB / 439.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005099/0.2633, allocations: 156.1 kB / 439.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.2645, allocations: 0.5842 MB / 440.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.155e-05/0.2645, allocations: 70.12 kB / 440.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.2646, allocations: 83.95 kB / 440.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.2661, allocations: 0.8764 MB / 441.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.947e-05/0.2662, allocations: 0 / 441.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.11e-05/0.2662, allocations: 36 kB / 441.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/0.2663, allocations: 24 kB / 441.4 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.2674, allocations: 0.5387 MB / 441.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00454/0.2719, allocations: 3.076 MB / 445 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005777/0.2725, allocations: 230.7 kB / 445.2 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002588/0.2728, allocations: 116.7 kB / 445.3 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.2728, allocations: 4 kB / 445.3 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.2728, allocations: 34.56 kB / 445.4 MB, free: 7.207 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 2.003e-06/0.2728, allocations: 0 / 445.4 MB, free: 7.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002139/0.275, allocations: 0.932 MB / 446.3 MB, free: 6.238 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.418e-05/0.275, allocations: 89.05 kB / 446.4 MB, free: 6.133 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.2761, allocations: 0.7779 MB / 447.1 MB, free: 5.348 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.2761, allocations: 33.7 kB / 447.2 MB, free: 5.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004399/0.2765, allocations: 0.5189 MB / 447.7 MB, free: 4.785 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.2767, allocations: 119 kB / 447.8 MB, free: 4.668 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.2768, allocations: 122.2 kB / 447.9 MB, free: 4.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002292/0.2771, allocations: 386.8 kB / 448.3 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/0.2774, allocations: 129.2 kB / 448.4 MB, free: 4.031 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005843/0.2779, allocations: 483.9 kB / 448.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009163/0.2789, allocations: 0.6102 MB / 449.5 MB, free: 2.648 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/0.2789, allocations: 4 kB / 449.5 MB, free: 2.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001176/0.28, allocations: 0.646 MB / 450.2 MB, free: 1.988 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/0.2801, allocations: 19.92 kB / 450.2 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.2801, allocations: 12 kB / 450.2 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001439/0.2802, allocations: 25.64 kB / 450.2 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004801/0.2807, allocations: 159.7 kB / 450.4 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.2819, allocations: 1.275 MB / 451.7 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005089/0.2824, allocations: 43.94 kB / 451.7 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.198e-05/0.2824, allocations: 36.16 kB / 451.7 MB, free: 312 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (78): * Single equations (assignments): 77 * 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.0003391/0.2828, allocations: 237.5 kB / 452 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.2829, allocations: 79.67 kB / 452 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007231/0.2836, allocations: 333.9 kB / 452.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.2836, allocations: 0 / 452.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.2836, allocations: 3.75 kB / 452.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2836, allocations: 8 kB / 452.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001762/0.2854, allocations: 1.014 MB / 453.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.2854, allocations: 7.922 kB / 453.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/0.2857, allocations: 63.91 kB / 453.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001174/0.2858, allocations: 33.06 kB / 453.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.2858, allocations: 8 kB / 453.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/0.2869, allocations: 1.264 MB / 454.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2869, allocations: 7.969 kB / 454.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009973/0.2879, allocations: 0.5808 MB / 455.4 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002459/0.2882, allocations: 103.5 kB / 455.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.99e-05/0.2883, allocations: 8 kB / 455.5 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003382/0.2886, allocations: 23.97 kB / 455.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.421e-05/0.2887, allocations: 23.91 kB / 455.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/0.2887, allocations: 15.92 kB / 455.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007634/0.2895, allocations: 0.5186 MB / 456.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2895, allocations: 4 kB / 456.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007135/0.2902, allocations: 168 kB / 456.2 MB, free: 11.57 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 (28): * Single equations (assignments): 27 * 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.001461/0.2916, allocations: 1.137 MB / 457.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009702/0.2926, allocations: 464 kB / 457.8 MB, free: 9.918 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.2926, allocations: 4 kB / 457.8 MB, free: 9.914 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003995/0.293, allocations: 235.8 kB / 458 MB, free: 9.672 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009488/0.294, allocations: 183.2 kB / 458.2 MB, free: 9.492 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009777/0.3037, allocations: 6.526 MB / 464.8 MB, free: 2.539 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.3041, allocations: 361.3 kB / 465.1 MB, free: 2.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003563/0.3045, allocations: 94.17 kB / 465.2 MB, free: 2.066 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004166/0.3049, allocations: 315.3 kB / 465.5 MB, free: 1.758 MB / 366.1 MB Notification: Performance of SimCode: time 1.242e-06/0.3049, allocations: 0 / 465.5 MB, free: 1.758 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0563/0.3612, allocations: 17.57 MB / 483.1 MB, free: 0.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.39, allocations: 8.062 kB / 483.1 MB, free: 0.4922 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable loadInertia.w in file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.589256579987705]