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.001723/0.001723, allocations: 112 kB / 20.43 MB, free: 1.309 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.001952/0.001952, allocations: 191.2 kB / 23.72 MB, free: 4.559 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.412/1.412, allocations: 225.6 MB / 252.5 MB, free: 13.03 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.001503/0.001503, allocations: 47.92 kB / 370.4 MB, free: 9.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.254, allocations: 52.19 MB / 422.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01072/0.2647, allocations: 8.041 MB / 430.7 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006125/0.2708, allocations: 2.633 MB / 433.3 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.2721, allocations: 27.88 kB / 433.3 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001829/0.2739, allocations: 0.5175 MB / 433.9 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001639/0.2756, allocations: 432.8 kB / 434.3 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006349/0.2762, allocations: 215.6 kB / 434.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001722/0.2779, allocations: 1.243 MB / 435.7 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006506/0.2786, allocations: 366.5 kB / 436.1 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007336/0.2793, allocations: 490.1 kB / 436.6 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007449/0.2801, allocations: 0.525 MB / 437.1 MB, free: 36 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000172/0.2802, allocations: 116 kB / 437.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003146/0.2805, allocations: 159.9 kB / 437.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001918/0.2807, allocations: 231.2 kB / 437.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005786/0.2813, allocations: 0.5676 MB / 438.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00201/0.2833, allocations: 1.466 MB / 439.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2833, allocations: 0 / 439.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.2833, allocations: 0 / 439.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.8e-05/0.2834, allocations: 0 / 439.6 MB, free: 13.5 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.002486/0.2858, allocations: 1.264 MB / 440.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.2859, allocations: 8.031 kB / 440.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001577/0.286, allocations: 135.4 kB / 441 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005088/0.2866, allocations: 152.2 kB / 441.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.2878, allocations: 0.5804 MB / 441.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.859e-05/0.2879, allocations: 70.12 kB / 441.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.288, allocations: 87.95 kB / 441.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.2895, allocations: 0.8145 MB / 442.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.45e-05/0.2896, allocations: 7.984 kB / 442.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.899e-05/0.2896, allocations: 35.94 kB / 442.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.18e-05/0.2896, allocations: 20 kB / 442.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.2908, allocations: 0.5426 MB / 443.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005072/0.2959, allocations: 3.469 MB / 446.8 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005871/0.2964, allocations: 222.8 kB / 447 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/0.2967, allocations: 104.8 kB / 447.1 MB, free: 5.652 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.818e-05/0.2967, allocations: 4 kB / 447.1 MB, free: 5.648 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.2968, allocations: 46.5 kB / 447.2 MB, free: 5.594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 2.966e-06/0.2968, allocations: 0 / 447.2 MB, free: 5.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.00234/0.2991, allocations: 0.9275 MB / 448.1 MB, free: 4.629 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.2992, allocations: 85.05 kB / 448.2 MB, free: 4.527 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.3003, allocations: 0.7624 MB / 448.9 MB, free: 3.758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.3003, allocations: 37.64 kB / 449 MB, free: 3.715 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004052/0.3007, allocations: 0.5228 MB / 449.5 MB, free: 3.188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.245e-05/0.3008, allocations: 123 kB / 449.6 MB, free: 3.066 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.301, allocations: 126.2 kB / 449.7 MB, free: 2.938 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.3012, allocations: 378.8 kB / 450.1 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002884/0.3015, allocations: 129.2 kB / 450.2 MB, free: 2.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005413/0.302, allocations: 454.2 kB / 450.7 MB, free: 1.844 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008885/0.3029, allocations: 0.6141 MB / 451.3 MB, free: 1.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.3029, allocations: 4 kB / 451.3 MB, free: 1.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001151/0.304, allocations: 0.6463 MB / 451.9 MB, free: 432 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.3041, allocations: 11.94 kB / 452 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.3041, allocations: 15.94 kB / 452 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001531/0.3042, allocations: 28.86 kB / 452 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004765/0.3047, allocations: 151.7 kB / 452.2 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.3059, allocations: 1.287 MB / 453.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005187/0.3064, allocations: 47.94 kB / 453.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-05/0.3065, allocations: 28 kB / 453.5 MB, free: 14.74 MB / 366.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.0003632/0.3068, allocations: 249.5 kB / 453.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.3069, allocations: 79.48 kB / 453.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007064/0.3076, allocations: 330 kB / 454.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.3076, allocations: 7.984 kB / 454.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3076, allocations: 3.938 kB / 454.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3077, allocations: 0 / 454.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/0.3095, allocations: 1.081 MB / 455.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.3095, allocations: 7.984 kB / 455.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/0.3098, allocations: 60.12 kB / 455.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.494e-05/0.3099, allocations: 24.84 kB / 455.3 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.3099, allocations: 8 kB / 455.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/0.311, allocations: 1.268 MB / 456.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.311, allocations: 7.984 kB / 456.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.3121, allocations: 0.5746 MB / 457.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002166/0.3123, allocations: 107.5 kB / 457.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.861e-05/0.3124, allocations: 8.094 kB / 457.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/0.3127, allocations: 19.92 kB / 457.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.837e-05/0.3128, allocations: 31.94 kB / 457.4 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.3128, allocations: 12 kB / 457.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006928/0.3135, allocations: 0.5146 MB / 457.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3135, allocations: 4 kB / 457.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007434/0.3143, allocations: 179.9 kB / 458.1 MB, free: 9.93 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.001459/0.3157, allocations: 1.125 MB / 459.2 MB, free: 8.754 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009321/0.3167, allocations: 479.7 kB / 459.7 MB, free: 8.273 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3167, allocations: 0 / 459.7 MB, free: 8.273 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003865/0.317, allocations: 236 kB / 459.9 MB, free: 8.031 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008915/0.3179, allocations: 196.7 kB / 460.1 MB, free: 7.836 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.3284, allocations: 6.525 MB / 466.6 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008271/0.3292, allocations: 0.9564 MB / 467.6 MB, free: 15.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003884/0.3296, allocations: 90.17 kB / 467.7 MB, free: 15.81 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004525/0.3301, allocations: 319.3 kB / 468 MB, free: 15.5 MB / 382.1 MB Notification: Performance of SimCode: time 1.713e-06/0.3301, allocations: 0 / 468 MB, free: 15.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05613/0.3862, allocations: 16.6 MB / 484.6 MB, free: 15.12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/12.86, allocations: 3.375 kB / 484.6 MB, free: 15.12 MB / 398.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: 16.085771129000932]