Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001374/0.001374, allocations: 114 kB / 20.44 MB, free: 1.469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001686/0.001686, allocations: 213.4 kB / 23.74 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 230.5 MB / 257.4 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 67.89 kB / 377.8 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2875, allocations: 53.4 MB / 431.2 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01195/0.2994, allocations: 9.691 MB / 440.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006266/0.3057, allocations: 3.166 MB / 444.1 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001454/0.3072, allocations: 27.88 kB / 444.1 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001922/0.3091, allocations: 0.6221 MB / 444.7 MB, free: 9.152 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001856/0.3109, allocations: 0.5776 MB / 445.3 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008187/0.3118, allocations: 323.5 kB / 445.6 MB, free: 8.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00247/0.3142, allocations: 1.763 MB / 447.4 MB, free: 6.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008113/0.315, allocations: 461.3 kB / 447.8 MB, free: 6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.3162, allocations: 0.6889 MB / 448.5 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009798/0.3172, allocations: 0.7467 MB / 449.3 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002027/0.3174, allocations: 156 kB / 449.4 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003801/0.3178, allocations: 200 kB / 449.6 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002769/0.3181, allocations: 334.8 kB / 449.9 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007836/0.3188, allocations: 0.8087 MB / 450.7 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002317/0.3212, allocations: 1.992 MB / 452.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3212, allocations: 0 / 452.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3212, allocations: 0 / 452.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.18e-05/0.3212, allocations: 0 / 452.7 MB, free: 1.07 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.003327/0.3245, allocations: 1.759 MB / 454.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.3246, allocations: 8.031 kB / 454.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002061/0.3248, allocations: 165 kB / 454.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006016/0.3254, allocations: 207.9 kB / 454.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.3269, allocations: 0.7679 MB / 455.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002016/0.3271, allocations: 171.8 kB / 455.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/0.3273, allocations: 111.9 kB / 455.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001946/0.3292, allocations: 1.146 MB / 457.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/0.3292, allocations: 0 / 457.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.485e-05/0.3293, allocations: 48 kB / 457.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.387e-05/0.3294, allocations: 28 kB / 457.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/0.3309, allocations: 0.7534 MB / 457.9 MB, free: 11.71 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.006542/0.3375, allocations: 3.821 MB / 461.7 MB, free: 7.703 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.339, allocations: 0.5418 MB / 462.2 MB, free: 7.152 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005152/0.3395, allocations: 240 kB / 462.5 MB, free: 6.918 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.158e-05/0.3396, allocations: 16.47 kB / 462.5 MB, free: 6.898 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006526/0.3402, allocations: 302.1 kB / 462.8 MB, free: 6.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 3.206e-06/0.3402, allocations: 0 / 462.8 MB, free: 6.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004739/0.345, allocations: 1.868 MB / 464.7 MB, free: 4.688 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000271/0.3452, allocations: 479.3 kB / 465.1 MB, free: 4.109 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/0.3468, allocations: 1.101 MB / 466.2 MB, free: 2.996 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.245e-05/0.3469, allocations: 45.7 kB / 466.3 MB, free: 2.945 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006142/0.3475, allocations: 0.6599 MB / 466.9 MB, free: 2.277 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002162/0.3477, allocations: 242 kB / 467.2 MB, free: 2.039 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002788/0.348, allocations: 194.9 kB / 467.4 MB, free: 1.844 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3481, allocations: 345.9 kB / 467.7 MB, free: 1.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005299/0.3487, allocations: 246.5 kB / 467.9 MB, free: 1.258 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009702/0.3496, allocations: 0.7134 MB / 468.7 MB, free: 348 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.3511, allocations: 0.9372 MB / 469.6 MB, free: 15.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.3511, allocations: 11.94 kB / 469.6 MB, free: 15.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002349/0.3535, allocations: 1.146 MB / 470.7 MB, free: 14.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.639e-05/0.3535, allocations: 63.41 kB / 470.8 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-05/0.3536, allocations: 12.38 kB / 470.8 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006228/0.3542, allocations: 169.5 kB / 471 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007029/0.3549, allocations: 207.7 kB / 471.2 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004562/0.3595, allocations: 3.69 MB / 474.9 MB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/0.3606, allocations: 68.03 kB / 474.9 MB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.488e-05/0.3606, allocations: 51.98 kB / 475 MB, free: 9.559 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.0005275/0.3612, allocations: 296.9 kB / 475.3 MB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.3613, allocations: 131.2 kB / 475.4 MB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00153/0.3629, allocations: 0.7022 MB / 476.1 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.3629, allocations: 8 kB / 476.1 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.3629, allocations: 0 / 476.1 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001445/0.3643, allocations: 0.9551 MB / 477.1 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003218/0.3675, allocations: 1.744 MB / 478.8 MB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.3675, allocations: 4 kB / 478.8 MB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004917/0.368, allocations: 112 kB / 478.9 MB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004422/0.3685, allocations: 121.6 kB / 479.1 MB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.057e-05/0.3685, allocations: 16 kB / 479.1 MB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003686/0.3722, allocations: 3.381 MB / 482.5 MB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.3722, allocations: 8.031 kB / 482.5 MB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001982/0.3742, allocations: 1.061 MB / 483.5 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005207/0.3747, allocations: 183.2 kB / 483.7 MB, free: 376 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.3749, allocations: 16 kB / 483.7 MB, free: 360 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006024/0.3755, allocations: 35.91 kB / 483.7 MB, free: 324 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.3756, allocations: 68.33 kB / 483.8 MB, free: 256 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.714e-05/0.3756, allocations: 20 kB / 483.8 MB, free: 236 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001148/0.3768, allocations: 0.7406 MB / 484.6 MB, free: 15.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3768, allocations: 0 / 484.6 MB, free: 15.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001133/0.3779, allocations: 312 kB / 484.9 MB, free: 15.18 MB / 398.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.002375/0.3803, allocations: 1.642 MB / 486.5 MB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002236/0.3825, allocations: 1.069 MB / 487.6 MB, free: 12.37 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.3825, allocations: 4 kB / 487.6 MB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009738/0.3835, allocations: 0.5316 MB / 488.1 MB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/0.385, allocations: 331.5 kB / 488.5 MB, free: 11.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01589/0.4009, allocations: 9.757 MB / 498.2 MB, free: 1.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000849/0.4017, allocations: 1.082 MB / 499.3 MB, free: 72 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007576/0.4025, allocations: 153.9 kB / 499.4 MB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006392/0.4031, allocations: 479.2 kB / 499.9 MB, free: 15.45 MB / 414.1 MB Notification: Performance of SimCode: time 1.282e-06/0.4031, allocations: 0 / 499.9 MB, free: 15.45 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07921/0.4823, allocations: 30.03 MB / 0.5175 GB, free: 1.746 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.49/15.98, allocations: 7.938 kB / 0.5175 GB, free: 1.738 MB / 430.1 MB " [Timeout remaining time 644] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.csv failed! " [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 27.097645894999005]