Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00133/0.00133, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.001792/0.001792, allocations: 206.9 kB / 23.72 MB, free: 4.414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.436/1.436, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 51.92 kB / 377.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3054, allocations: 53.36 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01246/0.3178, allocations: 8.468 MB / 439.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006435/0.3242, allocations: 2.94 MB / 442.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001406/0.3257, allocations: 31.88 kB / 442.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001919/0.3276, allocations: 0.5511 MB / 443.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002192/0.3298, allocations: 0.5931 MB / 443.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.3308, allocations: 323.5 kB / 444 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002749/0.3335, allocations: 1.77 MB / 445.8 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008973/0.3344, allocations: 425.3 kB / 446.2 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001311/0.3357, allocations: 0.6928 MB / 446.9 MB, free: 6.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001317/0.3371, allocations: 0.6412 MB / 447.5 MB, free: 6.133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003697/0.3374, allocations: 160 kB / 447.7 MB, free: 5.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006239/0.3381, allocations: 196 kB / 447.9 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004193/0.3385, allocations: 338.8 kB / 448.2 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001056/0.3395, allocations: 0.6611 MB / 448.9 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002772/0.3423, allocations: 2.004 MB / 450.9 MB, free: 2.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3423, allocations: 0 / 450.9 MB, free: 2.777 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3423, allocations: 0 / 450.9 MB, free: 2.777 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.338e-05/0.3424, allocations: 3.938 kB / 450.9 MB, free: 2.773 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.00332/0.3457, allocations: 1.757 MB / 452.6 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.3457, allocations: 12.03 kB / 452.6 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001969/0.3459, allocations: 168.9 kB / 452.8 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000547/0.3465, allocations: 203.9 kB / 453 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001505/0.348, allocations: 0.7719 MB / 453.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001812/0.3481, allocations: 163.8 kB / 453.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/0.3483, allocations: 115.9 kB / 454 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002234/0.3505, allocations: 1.573 MB / 455.6 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.778e-05/0.3506, allocations: 3.984 kB / 455.6 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.687e-05/0.3507, allocations: 48 kB / 455.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.68e-05/0.3507, allocations: 28 kB / 455.7 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001597/0.3523, allocations: 0.7496 MB / 456.4 MB, free: 12.88 MB / 366.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.005938/0.3582, allocations: 3.36 MB / 459.8 MB, free: 9.363 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/0.3598, allocations: 0.5429 MB / 460.4 MB, free: 8.812 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005136/0.3603, allocations: 246.7 kB / 460.6 MB, free: 8.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.925e-05/0.3603, allocations: 12.44 kB / 460.6 MB, free: 8.555 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006472/0.361, allocations: 319.9 kB / 460.9 MB, free: 8.223 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.575e-06/0.361, allocations: 0 / 460.9 MB, free: 8.223 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004465/0.3655, allocations: 1.88 MB / 462.8 MB, free: 6.312 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003156/0.3658, allocations: 475.3 kB / 463.3 MB, free: 5.738 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/0.3674, allocations: 1.132 MB / 464.4 MB, free: 4.594 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.66e-05/0.3675, allocations: 37.7 kB / 464.4 MB, free: 4.551 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005675/0.368, allocations: 0.656 MB / 465.1 MB, free: 3.887 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/0.3682, allocations: 238 kB / 465.3 MB, free: 3.652 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002757/0.3685, allocations: 198.8 kB / 465.5 MB, free: 3.453 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.3687, allocations: 353.9 kB / 465.9 MB, free: 3.102 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005612/0.3692, allocations: 297.9 kB / 466.1 MB, free: 2.797 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001366/0.3706, allocations: 1.165 MB / 467.3 MB, free: 1.312 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001472/0.3721, allocations: 0.945 MB / 468.3 MB, free: 200 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.3721, allocations: 4 kB / 468.3 MB, free: 196 kB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002255/0.3743, allocations: 1.2 MB / 469.5 MB, free: 14.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.275e-05/0.3744, allocations: 63.41 kB / 469.5 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.3744, allocations: 12 kB / 469.5 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005319/0.3749, allocations: 169.8 kB / 469.7 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006664/0.3756, allocations: 203.7 kB / 469.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004335/0.3799, allocations: 3.661 MB / 473.6 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009257/0.3809, allocations: 63.92 kB / 473.6 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.019e-05/0.3809, allocations: 44 kB / 473.7 MB, free: 10.5 MB / 382.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.0004739/0.3814, allocations: 301.5 kB / 474 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.3816, allocations: 131.3 kB / 474.1 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001517/0.3831, allocations: 0.7021 MB / 474.8 MB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.3831, allocations: 4 kB / 474.8 MB, free: 9.348 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3831, allocations: 4 kB / 474.8 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001452/0.3845, allocations: 0.9551 MB / 475.8 MB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002893/0.3874, allocations: 1.608 MB / 477.4 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.3874, allocations: 4 kB / 477.4 MB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00047/0.3879, allocations: 107.8 kB / 477.5 MB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004135/0.3883, allocations: 129.8 kB / 477.6 MB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.754e-05/0.3884, allocations: 19.94 kB / 477.6 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003643/0.392, allocations: 3.35 MB / 481 MB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.392, allocations: 0 / 481 MB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/0.3939, allocations: 1.05 MB / 482 MB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004552/0.3944, allocations: 195.2 kB / 482.2 MB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/0.3945, allocations: 23.98 kB / 482.2 MB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006092/0.3951, allocations: 35.97 kB / 482.3 MB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.3952, allocations: 60.33 kB / 482.3 MB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/0.3953, allocations: 16 kB / 482.3 MB, free: 1.344 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001066/0.3963, allocations: 0.7484 MB / 483.1 MB, free: 0.5898 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3963, allocations: 0 / 483.1 MB, free: 0.5898 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001024/0.3973, allocations: 308 kB / 483.4 MB, free: 296 kB / 382.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.002324/0.3997, allocations: 1.643 MB / 485 MB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002066/0.4017, allocations: 1.123 MB / 486.2 MB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4017, allocations: 0 / 486.2 MB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000926/0.4027, allocations: 0.5281 MB / 486.7 MB, free: 12.85 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/0.404, allocations: 337.8 kB / 487 MB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01519/0.4192, allocations: 9.982 MB / 497 MB, free: 1.949 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005638/0.4198, allocations: 0.4896 MB / 497.5 MB, free: 1.426 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006091/0.4204, allocations: 149.8 kB / 497.6 MB, free: 1.277 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006303/0.421, allocations: 471.3 kB / 498.1 MB, free: 0.8164 MB / 398.1 MB Notification: Performance of SimCode: time 1.032e-06/0.421, allocations: 0 / 498.1 MB, free: 0.8164 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07757/0.4986, allocations: 31.67 MB / 0.5173 GB, free: 1.645 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.99/14.49, allocations: 12 kB / 0.5174 GB, free: 1.633 MB / 430.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.csv failed! " [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 25.79955807281658]