Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.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.001508/0.001508, 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.002016/0.002016, allocations: 212 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.395/1.395, allocations: 207.7 MB / 235.3 MB, free: 9.805 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_Cooling,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling",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.001998/0.001998, allocations: 55.92 kB / 347.2 MB, free: 9.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2527, allocations: 49.16 MB / 396.4 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.008762/0.2615, allocations: 8.393 MB / 404.8 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00512/0.2666, allocations: 2.928 MB / 407.7 MB, free: 1.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009995/0.2676, allocations: 34.5 kB / 407.7 MB, free: 1.238 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00142/0.269, allocations: 0.5449 MB / 408.3 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001257/0.2703, allocations: 0.5953 MB / 408.9 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007043/0.271, allocations: 321.1 kB / 409.2 MB, free: 368 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002/0.273, allocations: 1.768 MB / 410.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007356/0.2737, allocations: 425.7 kB / 411.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.2748, allocations: 0.6857 MB / 412 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000934/0.2758, allocations: 0.648 MB / 412.7 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002349/0.276, allocations: 157.5 kB / 412.8 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000393/0.2764, allocations: 197.9 kB / 413 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002889/0.2767, allocations: 331.8 kB / 413.4 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007103/0.2774, allocations: 0.6682 MB / 414 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002718/0.2801, allocations: 2.007 MB / 416 MB, free: 12.31 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.2801, allocations: 3.188 kB / 416 MB, free: 12.31 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.2801, allocations: 0 / 416 MB, free: 12.31 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.94e-05/0.2801, allocations: 0 / 416 MB, free: 12.31 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003551/0.2837, allocations: 1.757 MB / 417.8 MB, free: 11 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.2837, allocations: 12.14 kB / 417.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001984/0.2839, allocations: 170.5 kB / 418 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005963/0.2845, allocations: 206.6 kB / 418.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/0.2861, allocations: 0.7651 MB / 418.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002038/0.2863, allocations: 168.6 kB / 419.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/0.2864, allocations: 115 kB / 419.2 MB, free: 9.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002305/0.2887, allocations: 1.573 MB / 420.8 MB, free: 8.668 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.946e-05/0.2888, allocations: 6.266 kB / 420.8 MB, free: 8.664 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.379e-05/0.2889, allocations: 46.5 kB / 420.8 MB, free: 8.629 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.333e-05/0.2889, allocations: 26.03 kB / 420.9 MB, free: 8.629 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001486/0.2904, allocations: 0.7585 MB / 421.6 MB, free: 8.258 MB / 334.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005968/0.2964, allocations: 3.356 MB / 425 MB, free: 5.641 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.2979, allocations: 0.5506 MB / 425.5 MB, free: 5.359 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005055/0.2984, allocations: 245.8 kB / 425.8 MB, free: 5.176 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.444e-05/0.2984, allocations: 8.5 kB / 425.8 MB, free: 5.168 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006548/0.2991, allocations: 319.9 kB / 426.1 MB, free: 4.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=62): time 2.404e-06/0.2991, allocations: 0 / 426.1 MB, free: 4.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.004822/0.3039, allocations: 1.868 MB / 428 MB, free: 2.934 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003014/0.3042, allocations: 475.3 kB / 428.4 MB, free: 2.359 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/0.3058, allocations: 1.129 MB / 429.6 MB, free: 1.219 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.008e-05/0.3058, allocations: 41.7 kB / 429.6 MB, free: 1.172 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006031/0.3065, allocations: 0.656 MB / 430.3 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/0.3067, allocations: 246 kB / 430.5 MB, free: 272 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002779/0.3069, allocations: 194.9 kB / 430.7 MB, free: 72 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.3072, allocations: 349.9 kB / 431 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000586/0.3077, allocations: 301.9 kB / 431.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/0.309, allocations: 1.165 MB / 432.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.3105, allocations: 0.9489 MB / 433.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/0.3105, allocations: 4 kB / 433.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002268/0.3128, allocations: 1.208 MB / 434.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.478e-05/0.3129, allocations: 63.41 kB / 434.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-05/0.3129, allocations: 15.98 kB / 434.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005716/0.3135, allocations: 169.8 kB / 434.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006555/0.3141, allocations: 203.7 kB / 435.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004517/0.3186, allocations: 3.655 MB / 438.7 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.3197, allocations: 59.92 kB / 438.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.378e-05/0.3198, allocations: 44 kB / 438.8 MB, free: 7.105 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(6,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0005007/0.3203, allocations: 293.6 kB / 439.1 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/0.3205, allocations: 135.2 kB / 439.3 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001479/0.3219, allocations: 0.706 MB / 440 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.3219, allocations: 4 kB / 440 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.322, allocations: 7.984 kB / 440 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00143/0.3234, allocations: 0.9473 MB / 440.9 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003029/0.3264, allocations: 1.608 MB / 442.5 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.3264, allocations: 4 kB / 442.5 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004713/0.3269, allocations: 107.8 kB / 442.6 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004446/0.3273, allocations: 133.8 kB / 442.8 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.115e-05/0.3274, allocations: 19.92 kB / 442.8 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003754/0.3311, allocations: 3.354 MB / 446.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3311, allocations: 0 / 446.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.3331, allocations: 1.057 MB / 447.2 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005379/0.3336, allocations: 183.1 kB / 447.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.3337, allocations: 16 kB / 447.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006051/0.3344, allocations: 39.97 kB / 447.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.3345, allocations: 64.31 kB / 447.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.724e-05/0.3345, allocations: 20 kB / 447.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001091/0.3356, allocations: 0.7484 MB / 448.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3356, allocations: 0 / 448.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001061/0.3367, allocations: 308 kB / 448.6 MB, free: 12.89 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi,armature.T,core.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002342/0.339, allocations: 1.623 MB / 450.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002167/0.3412, allocations: 1.119 MB / 451.3 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.3412, allocations: 4 kB / 451.3 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009738/0.3422, allocations: 0.532 MB / 451.9 MB, free: 9.469 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/0.3437, allocations: 336.7 kB / 452.2 MB, free: 9.137 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0154/0.3591, allocations: 9.971 MB / 462.2 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005836/0.3597, allocations: 0.4896 MB / 462.6 MB, free: 14.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006184/0.3603, allocations: 153.8 kB / 462.8 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006019/0.3609, allocations: 471.3 kB / 463.3 MB, free: 13.41 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3609, allocations: 0 / 463.3 MB, free: 13.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1014/0.4623, allocations: 31.64 MB / 494.9 MB, free: 13.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/14.65, allocations: 3.953 kB / 494.9 MB, free: 13.66 MB / 414.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.csv --start-time 0 --stop-time 25 --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_Cooling.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_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_Cooling/DCPM_Cooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.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_Cooling_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.csv failed! " [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 25.45593907404691]