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.001662/0.001662, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001784/0.001784, allocations: 209.4 kB / 24.47 MB, free: 3.547 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.402/1.402, allocations: 207.7 MB / 235.3 MB, free: 9.801 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.001747/0.001747, allocations: 55.91 kB / 347.2 MB, free: 9.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2399, allocations: 49.15 MB / 396.4 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.008191/0.2481, allocations: 7.001 MB / 403.4 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004443/0.2526, allocations: 2.448 MB / 405.8 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009983/0.2536, allocations: 24.06 kB / 405.8 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001425/0.255, allocations: 481 kB / 406.3 MB, free: 2.277 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001133/0.2561, allocations: 434.8 kB / 406.7 MB, free: 1.969 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004654/0.2566, allocations: 215.2 kB / 406.9 MB, free: 1.836 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001159/0.2578, allocations: 1.232 MB / 408.2 MB, free: 1.172 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005269/0.2583, allocations: 348.5 kB / 408.5 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005797/0.2589, allocations: 499.2 kB / 409 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005316/0.2594, allocations: 456.5 kB / 409.4 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.2595, allocations: 115.3 kB / 409.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002841/0.2598, allocations: 151.5 kB / 409.7 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.2599, allocations: 240.8 kB / 409.9 MB, free: 336 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003562/0.2603, allocations: 470 kB / 410.4 MB, free: 80 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001621/0.2619, allocations: 1.479 MB / 411.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2619, allocations: 0 / 411.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2619, allocations: 0 / 411.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.002e-05/0.2619, allocations: 4 kB / 411.9 MB, free: 15.25 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.002229/0.2642, allocations: 1.259 MB / 413.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.2642, allocations: 13.95 kB / 413.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001585/0.2644, allocations: 135 kB / 413.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004835/0.2648, allocations: 159.2 kB / 413.4 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.2659, allocations: 0.5739 MB / 414 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.63e-05/0.266, allocations: 67.41 kB / 414.1 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.2661, allocations: 87.08 kB / 414.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.2675, allocations: 0.8667 MB / 415 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.064e-05/0.2675, allocations: 6.719 kB / 415 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.195e-05/0.2676, allocations: 35 kB / 415.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/0.2676, allocations: 21.56 kB / 415.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.2686, allocations: 0.5453 MB / 415.6 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004297/0.2729, allocations: 3.063 MB / 418.7 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005305/0.2734, allocations: 235.7 kB / 418.9 MB, free: 9.969 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/0.2737, allocations: 117 kB / 419 MB, free: 9.906 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.2737, allocations: 2.844 kB / 419 MB, free: 9.906 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.2737, allocations: 32.03 kB / 419.1 MB, free: 9.867 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 2.094e-06/0.2738, allocations: 0 / 419.1 MB, free: 9.867 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.002096/0.2758, allocations: 0.9372 MB / 420 MB, free: 9.254 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.935e-05/0.2759, allocations: 84.55 kB / 420.1 MB, free: 9.156 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.2769, allocations: 0.7784 MB / 420.9 MB, free: 8.703 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.277, allocations: 31.08 kB / 420.9 MB, free: 8.668 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004231/0.2774, allocations: 0.527 MB / 421.4 MB, free: 8.195 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.635e-05/0.2775, allocations: 117.3 kB / 421.5 MB, free: 8.094 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/0.2777, allocations: 128.1 kB / 421.7 MB, free: 8.008 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000212/0.2779, allocations: 379.6 kB / 422 MB, free: 7.645 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002831/0.2782, allocations: 134.6 kB / 422.2 MB, free: 7.578 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005793/0.2787, allocations: 471.5 kB / 422.6 MB, free: 7.066 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008678/0.2796, allocations: 0.618 MB / 423.3 MB, free: 6.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.2796, allocations: 3.156 kB / 423.3 MB, free: 6.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001137/0.2808, allocations: 0.648 MB / 423.9 MB, free: 6.137 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.2808, allocations: 18.91 kB / 423.9 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.2808, allocations: 9.688 kB / 423.9 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001511/0.2809, allocations: 36.8 kB / 424 MB, free: 6.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004576/0.2814, allocations: 157.7 kB / 424.1 MB, free: 6.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.2826, allocations: 1.278 MB / 425.4 MB, free: 4.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005074/0.2831, allocations: 40.5 kB / 425.4 MB, free: 4.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.691e-05/0.2831, allocations: 31.78 kB / 425.5 MB, free: 4.746 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.0003289/0.2834, allocations: 246.9 kB / 425.7 MB, free: 4.543 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.2836, allocations: 79.45 kB / 425.8 MB, free: 4.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006687/0.2842, allocations: 336.5 kB / 426.1 MB, free: 4.293 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.2842, allocations: 3.531 kB / 426.1 MB, free: 4.293 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/0.2842, allocations: 3.938 kB / 426.1 MB, free: 4.289 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.2843, allocations: 5.141 kB / 426.1 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/0.286, allocations: 1.022 MB / 427.2 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.286, allocations: 0 / 427.2 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000272/0.2862, allocations: 55.97 kB / 427.2 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.734e-05/0.2863, allocations: 33 kB / 427.2 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.2864, allocations: 8 kB / 427.2 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001018/0.2874, allocations: 1.263 MB / 428.5 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.2874, allocations: 4.031 kB / 428.5 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009579/0.2883, allocations: 0.5764 MB / 429.1 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002414/0.2886, allocations: 103.5 kB / 429.2 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.445e-05/0.2887, allocations: 8 kB / 429.2 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003312/0.289, allocations: 19.98 kB / 429.2 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.697e-05/0.2891, allocations: 27.95 kB / 429.2 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.2891, allocations: 12 kB / 429.3 MB, free: 1.062 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007253/0.2898, allocations: 0.5185 MB / 429.8 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2898, allocations: 4 kB / 429.8 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007021/0.2905, allocations: 168 kB / 429.9 MB, free: 392 kB / 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 (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.00137/0.2919, allocations: 1.133 MB / 431.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000943/0.2928, allocations: 480.6 kB / 431.5 MB, free: 14.72 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.2928, allocations: 4 kB / 431.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003978/0.2932, allocations: 235.8 kB / 431.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009425/0.2942, allocations: 195.2 kB / 432 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009433/0.3036, allocations: 6.534 MB / 438.5 MB, free: 7.316 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.304, allocations: 361.3 kB / 438.9 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003906/0.3044, allocations: 94.17 kB / 438.9 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004309/0.3048, allocations: 315.3 kB / 439.3 MB, free: 6.535 MB / 350.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3048, allocations: 0 / 439.3 MB, free: 6.535 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05535/0.3602, allocations: 17.55 MB / 456.8 MB, free: 4.898 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.21, allocations: 8 kB / 456.8 MB, free: 4.891 MB / 366.1 MB " [Timeout remaining time 648] (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.413725004997104]