Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.001876/0.001876, allocations: 112.1 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.00211/0.00211, 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.33/1.33, allocations: 207.6 MB / 235.3 MB, free: 9.992 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_Temperature,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",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.001805/0.001805, allocations: 60.34 kB / 347.2 MB, free: 10.11 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2698, allocations: 49.16 MB / 396.4 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.008778/0.2786, allocations: 7.986 MB / 404.3 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004656/0.2832, allocations: 2.631 MB / 407 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009909/0.2842, allocations: 30.5 kB / 407 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.2856, allocations: 0.5242 MB / 407.5 MB, free: 1.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001269/0.2868, allocations: 428.5 kB / 408 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005065/0.2873, allocations: 221.8 kB / 408.2 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001361/0.2887, allocations: 1.234 MB / 409.4 MB, free: 160 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006527/0.2893, allocations: 377.1 kB / 409.8 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008425/0.2902, allocations: 493.5 kB / 410.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007468/0.2909, allocations: 0.5211 MB / 410.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000145/0.2911, allocations: 115.4 kB / 410.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003349/0.2914, allocations: 150.4 kB / 411 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002113/0.2916, allocations: 232.8 kB / 411.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005618/0.2922, allocations: 0.564 MB / 411.8 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.2941, allocations: 1.47 MB / 413.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2941, allocations: 4 kB / 413.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2941, allocations: 0 / 413.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.202e-05/0.2941, allocations: 0 / 413.3 MB, free: 14.04 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002338/0.2965, allocations: 1.27 MB / 414.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.2965, allocations: 13.8 kB / 414.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001685/0.2967, allocations: 130 kB / 414.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005542/0.2972, allocations: 157.1 kB / 414.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.2984, allocations: 0.5731 MB / 415.4 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.008e-05/0.2985, allocations: 67.12 kB / 415.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.2986, allocations: 87.64 kB / 415.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.3001, allocations: 0.8211 MB / 416.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.346e-05/0.3001, allocations: 2.281 kB / 416.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.198e-05/0.3002, allocations: 35.78 kB / 416.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.99e-05/0.3002, allocations: 25.23 kB / 416.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.3013, allocations: 0.5434 MB / 417 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006054/0.3073, allocations: 3.457 MB / 420.5 MB, free: 8.523 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006689/0.308, allocations: 232.6 kB / 420.7 MB, free: 8.398 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002714/0.3083, allocations: 111.8 kB / 420.8 MB, free: 8.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.614e-05/0.3083, allocations: 6.906 kB / 420.8 MB, free: 8.336 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.3084, allocations: 36 kB / 420.8 MB, free: 8.293 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 2.925e-06/0.3084, allocations: 0 / 420.8 MB, free: 8.293 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.002759/0.3111, allocations: 0.9344 MB / 421.8 MB, free: 7.684 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.3112, allocations: 84.48 kB / 421.9 MB, free: 7.586 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/0.3128, allocations: 0.7594 MB / 422.6 MB, free: 7.148 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.428e-05/0.3128, allocations: 31.08 kB / 422.7 MB, free: 7.113 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000592/0.3134, allocations: 0.5424 MB / 423.2 MB, free: 6.625 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.3136, allocations: 110.3 kB / 423.3 MB, free: 6.531 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/0.3138, allocations: 124.1 kB / 423.4 MB, free: 6.449 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002541/0.314, allocations: 378.3 kB / 423.8 MB, free: 6.086 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003235/0.3144, allocations: 130.6 kB / 423.9 MB, free: 6.023 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006498/0.315, allocations: 448.7 kB / 424.4 MB, free: 5.527 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009343/0.3159, allocations: 0.6148 MB / 425 MB, free: 4.938 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.316, allocations: 2.969 kB / 425 MB, free: 4.938 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001295/0.3172, allocations: 0.6431 MB / 425.6 MB, free: 4.598 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.3173, allocations: 18.12 kB / 425.6 MB, free: 4.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.3173, allocations: 10.56 kB / 425.6 MB, free: 4.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001848/0.3175, allocations: 40.72 kB / 425.7 MB, free: 4.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004697/0.3179, allocations: 144.9 kB / 425.8 MB, free: 4.539 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.3192, allocations: 1.291 MB / 427.1 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006347/0.3198, allocations: 36.66 kB / 427.2 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-05/0.3199, allocations: 37.2 kB / 427.2 MB, free: 3.199 MB / 334.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.0003803/0.3203, allocations: 249.1 kB / 427.4 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.3204, allocations: 79.52 kB / 427.5 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007139/0.3211, allocations: 332.2 kB / 427.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3211, allocations: 7.75 kB / 427.8 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3211, allocations: 3.938 kB / 427.8 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3211, allocations: 5.188 kB / 427.9 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/0.3229, allocations: 1.089 MB / 428.9 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.3229, allocations: 4 kB / 428.9 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/0.3232, allocations: 59.91 kB / 429 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.015e-05/0.3233, allocations: 24.84 kB / 429 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.3233, allocations: 8 kB / 429 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009846/0.3243, allocations: 1.264 MB / 430.3 MB, free: 380 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.3243, allocations: 4.031 kB / 430.3 MB, free: 376 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009357/0.3252, allocations: 0.5686 MB / 430.9 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002479/0.3255, allocations: 107.5 kB / 431 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.579e-05/0.3256, allocations: 11.94 kB / 431 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003309/0.3259, allocations: 15.98 kB / 431 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/0.326, allocations: 31.95 kB / 431 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.326, allocations: 15.94 kB / 431.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007026/0.3267, allocations: 0.5224 MB / 431.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3267, allocations: 0 / 431.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007219/0.3274, allocations: 168 kB / 431.7 MB, free: 14.9 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 (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.001346/0.3288, allocations: 1.125 MB / 432.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009107/0.3297, allocations: 473.5 kB / 433.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3297, allocations: 192 / 433.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003871/0.3301, allocations: 246.4 kB / 433.6 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009238/0.331, allocations: 195.7 kB / 433.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009219/0.3402, allocations: 6.526 MB / 440.3 MB, free: 5.848 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006251/0.3408, allocations: 0.9526 MB / 441.2 MB, free: 4.867 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003526/0.3412, allocations: 90.17 kB / 441.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004029/0.3416, allocations: 319.3 kB / 441.6 MB, free: 4.465 MB / 350.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3416, allocations: 0 / 441.6 MB, free: 4.465 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05787/0.3995, allocations: 16.62 MB / 458.3 MB, free: 3.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/12.85, allocations: 4.062 kB / 458.3 MB, free: 3.766 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_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_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.991242838004837]