Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.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.00184/0.00184, allocations: 114 kB / 20.43 MB, free: 1.457 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.00247/0.00247, allocations: 213.1 kB / 23.74 MB, free: 4.672 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.523/1.523, allocations: 230.5 MB / 257.4 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2447/0.2447, allocations: 46.92 MB / 360.8 MB, free: 4.176 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002337/0.002337, allocations: 87.86 kB / 0.4962 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3491, allocations: 66.08 MB / 0.5607 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.00229/0.3514, allocations: 1.222 MB / 0.5619 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008118/0.3522, allocations: 427.9 kB / 0.5623 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.218e-05/0.3522, allocations: 0 / 0.5623 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.363e-05/0.3522, allocations: 0 / 0.5623 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.615e-05/0.3523, allocations: 4 kB / 0.5623 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004813/0.3527, allocations: 71.73 kB / 0.5624 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.328e-05/0.3528, allocations: 0 / 0.5624 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.988e-05/0.3528, allocations: 4 kB / 0.5624 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.506e-05/0.3528, allocations: 3.938 kB / 0.5624 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.3531, allocations: 39.95 kB / 0.5624 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.073e-06/0.3531, allocations: 0 / 0.5624 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.297e-05/0.3531, allocations: 4 kB / 0.5625 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.223e-06/0.3531, allocations: 0 / 0.5625 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.416e-05/0.3531, allocations: 4 kB / 0.5625 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 7.825e-05/0.3532, allocations: 23.77 kB / 0.5625 GB, free: 2.484 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3532, allocations: 4 kB / 0.5625 GB, free: 2.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3532, allocations: 0 / 0.5625 GB, free: 2.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.3532, allocations: 0 / 0.5625 GB, free: 2.48 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000267/0.3535, allocations: 230.5 kB / 0.5627 GB, free: 2.223 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3535, allocations: 12.02 kB / 0.5627 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.408e-05/0.3536, allocations: 30.75 kB / 0.5627 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.3537, allocations: 4.938 kB / 0.5627 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.15e-05/0.3538, allocations: 114.5 kB / 0.5629 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.3538, allocations: 4.375 kB / 0.5629 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.25e-06/0.3538, allocations: 384 / 0.5629 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.556e-05/0.3539, allocations: 26.27 kB / 0.5629 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.3539, allocations: 7.922 kB / 0.5629 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.3539, allocations: 0 / 0.5629 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3539, allocations: 4 kB / 0.5629 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.591e-05/0.3539, allocations: 0 / 0.5629 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003225/0.3543, allocations: 354.6 kB / 0.5632 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.374e-05/0.3543, allocations: 177 kB / 0.5634 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.76e-05/0.3544, allocations: 80.14 kB / 0.5635 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/0.3544, allocations: 79.27 kB / 0.5636 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.106e-05/0.3545, allocations: 117.8 kB / 0.5637 GB, free: 1.125 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3545, allocations: 0 / 0.5637 GB, free: 1.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.329e-05/0.3546, allocations: 29.66 kB / 0.5637 GB, free: 1.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.49e-05/0.3546, allocations: 130.6 kB / 0.5638 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.182e-05/0.3547, allocations: 91.83 kB / 0.5639 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.3547, allocations: 25.7 kB / 0.5639 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/0.3548, allocations: 84.14 kB / 0.564 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.056e-06/0.3548, allocations: 0 / 0.564 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.3548, allocations: 17.84 kB / 0.564 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3549, allocations: 314.8 kB / 0.5643 GB, free: 404 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.909e-06/0.355, allocations: 4 kB / 0.5643 GB, free: 400 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.747e-06/0.355, allocations: 0 / 0.5643 GB, free: 400 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.174e-05/0.355, allocations: 8.891 kB / 0.5643 GB, free: 388 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.355, allocations: 3.938 kB / 0.5643 GB, free: 384 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.32e-05/0.3551, allocations: 37.64 kB / 0.5644 GB, free: 340 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.3551, allocations: 6.125 kB / 0.5644 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.3551, allocations: 4 kB / 0.5644 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.3551, allocations: 0 / 0.5644 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.645e-05/0.3551, allocations: 4 kB / 0.5644 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3552, allocations: 0 / 0.5644 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.838e-06/0.3552, allocations: 0 / 0.5644 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.3552, allocations: 3.984 kB / 0.5644 GB, free: 324 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.3553, allocations: 189.1 kB / 0.5646 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.566e-05/0.3553, allocations: 109 kB / 0.5647 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.71e-05/0.3554, allocations: 115.7 kB / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-05/0.3555, allocations: 176.3 kB / 0.565 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.218e-05/0.3556, allocations: 180.3 kB / 0.5651 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.437e-05/0.3556, allocations: 188.2 kB / 0.5653 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002518/0.3559, allocations: 373.3 kB / 0.5657 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.503e-05/0.3559, allocations: 108.9 kB / 0.5658 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.657e-05/0.356, allocations: 105 kB / 0.5659 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.067e-05/0.3561, allocations: 180.3 kB / 0.566 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.497e-05/0.3561, allocations: 180.2 kB / 0.5662 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.169e-05/0.3562, allocations: 184.2 kB / 0.5664 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.511e-05/0.3563, allocations: 180.2 kB / 0.5666 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.3565, allocations: 311.9 kB / 0.5669 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.854e-05/0.3565, allocations: 113 kB / 0.567 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.687e-05/0.3566, allocations: 180.3 kB / 0.5671 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.44e-05/0.3567, allocations: 108.9 kB / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.551e-05/0.3568, allocations: 188.2 kB / 0.5674 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.285e-05/0.3568, allocations: 104.9 kB / 0.5675 GB, free: 12.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.378e-05/0.3569, allocations: 75.28 kB / 0.5676 GB, free: 12.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3569, allocations: 0 / 0.5676 GB, free: 12.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002146/0.3571, allocations: 0 / 0.5676 GB, free: 12.84 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004473/0.3575, allocations: 0.8088 MB / 0.5684 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.327e-05/0.3576, allocations: 0 / 0.5684 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.3576, allocations: 7.938 kB / 0.5684 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.3576, allocations: 0 / 0.5684 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.358, allocations: 459.8 kB / 0.5688 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003849/0.3584, allocations: 181.7 kB / 0.569 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.3587, allocations: 0.6729 MB / 0.5697 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.182e-05/0.3587, allocations: 0 / 0.5697 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.27e-05/0.3587, allocations: 7.438 kB / 0.5697 GB, free: 10.61 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3587, allocations: 0 / 0.5697 GB, free: 10.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/0.3842, allocations: 0.9956 MB / 0.5706 GB, free: 9.723 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.32, allocations: 0 / 0.5706 GB, free: 9.723 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Machines/TestLinearPower/TestLinearPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.476913931997842]