Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001706/0.001706, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.002222/0.002222, allocations: 208.6 kB / 24.49 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 48.3 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2532, allocations: 49.16 MB / 396.4 MB, free: 9.227 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.006601/0.2598, allocations: 7.157 MB / 403.5 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003366/0.2631, allocations: 2.407 MB / 405.9 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004389/0.2636, allocations: 19.78 kB / 405.9 MB, free: 2.367 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.2647, allocations: 0.5208 MB / 406.5 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007069/0.2654, allocations: 412.4 kB / 406.9 MB, free: 1.801 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000367/0.2657, allocations: 199.4 kB / 407.1 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001108/0.2668, allocations: 1.207 MB / 408.3 MB, free: 1.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004976/0.2673, allocations: 347.8 kB / 408.6 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005857/0.2679, allocations: 470.1 kB / 409.1 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005483/0.2685, allocations: 0.4907 MB / 409.5 MB, free: 300 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.2686, allocations: 118.4 kB / 409.7 MB, free: 296 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002842/0.2689, allocations: 150 kB / 409.8 MB, free: 288 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.269, allocations: 227.9 kB / 410 MB, free: 116 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004887/0.2695, allocations: 0.5442 MB / 410.6 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00169/0.2712, allocations: 1.44 MB / 412 MB, free: 15.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2712, allocations: 1.562 kB / 412 MB, free: 15.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2712, allocations: 0 / 412 MB, free: 15.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.766e-05/0.2712, allocations: 3.938 kB / 412 MB, free: 15.06 MB / 334.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.002161/0.2734, allocations: 1.205 MB / 413.2 MB, free: 14.14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.2735, allocations: 13.83 kB / 413.2 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001466/0.2736, allocations: 129 kB / 413.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004813/0.2741, allocations: 153.1 kB / 413.5 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.2752, allocations: 0.5817 MB / 414.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.469e-05/0.2752, allocations: 57.75 kB / 414.2 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.2753, allocations: 87.69 kB / 414.2 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.2767, allocations: 0.7728 MB / 415 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.319e-05/0.2768, allocations: 5.078 kB / 415 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.032e-05/0.2768, allocations: 39.16 kB / 415.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.2768, allocations: 20.09 kB / 415.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.2779, allocations: 0.5125 MB / 415.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004665/0.2826, allocations: 3.277 MB / 418.9 MB, free: 9.816 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005412/0.2831, allocations: 226.1 kB / 419.1 MB, free: 9.695 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002403/0.2833, allocations: 103.1 kB / 419.2 MB, free: 9.645 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.2834, allocations: 3.188 kB / 419.2 MB, free: 9.645 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.2834, allocations: 35.75 kB / 419.2 MB, free: 9.602 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.853e-06/0.2834, allocations: 1.156 kB / 419.2 MB, free: 9.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.002183/0.2856, allocations: 0.9124 MB / 420.1 MB, free: 9.004 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/0.2856, allocations: 80.55 kB / 420.2 MB, free: 8.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009662/0.2866, allocations: 0.7373 MB / 421 MB, free: 8.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.2866, allocations: 31.83 kB / 421 MB, free: 8.445 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003856/0.287, allocations: 0.5079 MB / 421.5 MB, free: 7.984 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.681e-05/0.2871, allocations: 112.8 kB / 421.6 MB, free: 7.887 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.2873, allocations: 112.8 kB / 421.7 MB, free: 7.812 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.2875, allocations: 378.1 kB / 422.1 MB, free: 7.449 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000278/0.2877, allocations: 123.9 kB / 422.2 MB, free: 7.391 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005735/0.2883, allocations: 418.8 kB / 422.6 MB, free: 6.938 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008094/0.2891, allocations: 0.5738 MB / 423.2 MB, free: 6.391 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.2891, allocations: 2.75 kB / 423.2 MB, free: 6.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001051/0.2902, allocations: 0.6147 MB / 423.8 MB, free: 6.062 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.2902, allocations: 13.62 kB / 423.8 MB, free: 6.059 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.2902, allocations: 9.562 kB / 423.8 MB, free: 6.059 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001583/0.2904, allocations: 34.56 kB / 423.9 MB, free: 6.043 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004182/0.2908, allocations: 137.2 kB / 424 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/0.2919, allocations: 1.29 MB / 425.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000513/0.2924, allocations: 29.77 kB / 425.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.093e-05/0.2925, allocations: 41.19 kB / 425.4 MB, free: 4.668 MB / 334.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.0003481/0.2928, allocations: 236.2 kB / 425.6 MB, free: 4.473 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.2929, allocations: 82.05 kB / 425.7 MB, free: 4.426 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006479/0.2936, allocations: 319 kB / 426 MB, free: 4.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.2936, allocations: 6.469 kB / 426 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2936, allocations: 1.344 kB / 426 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2936, allocations: 0 / 426 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/0.2953, allocations: 1.06 MB / 427 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2953, allocations: 2.469 kB / 427 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002603/0.2956, allocations: 60.5 kB / 427.1 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.315e-05/0.2957, allocations: 19.91 kB / 427.1 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.2957, allocations: 8.312 kB / 427.1 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009834/0.2967, allocations: 1.27 MB / 428.4 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.2967, allocations: 10.95 kB / 428.4 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009039/0.2976, allocations: 0.5538 MB / 429 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002249/0.2978, allocations: 104.7 kB / 429.1 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.821e-05/0.2979, allocations: 7.688 kB / 429.1 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003114/0.2982, allocations: 22.8 kB / 429.1 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.031e-05/0.2983, allocations: 32.8 kB / 429.1 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.2983, allocations: 7.188 kB / 429.1 MB, free: 1.539 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006782/0.299, allocations: 0.5028 MB / 429.6 MB, free: 1.059 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.299, allocations: 7.938 kB / 429.6 MB, free: 1.051 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00074/0.2997, allocations: 163.9 kB / 429.8 MB, free: 0.8906 MB / 334.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.001314/0.301, allocations: 1.102 MB / 430.9 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009193/0.3019, allocations: 448.9 kB / 431.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3019, allocations: 8 kB / 431.4 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000426/0.3024, allocations: 226.5 kB / 431.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008968/0.3033, allocations: 192.8 kB / 431.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009065/0.3123, allocations: 6.282 MB / 438 MB, free: 8.168 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006668/0.313, allocations: 0.9449 MB / 439 MB, free: 7.195 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000345/0.3133, allocations: 90.02 kB / 439.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003962/0.3137, allocations: 299.3 kB / 439.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of SimCode: time 1.333e-06/0.3137, allocations: 0 / 439.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05801/0.3717, allocations: 15.98 MB / 455.3 MB, free: 6.773 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/12.84, allocations: 0 / 455.3 MB, free: 6.773 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable loadInertia.w in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.808453509001993]