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.001302/0.001302, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001474/0.001474, allocations: 214 kB / 23.73 MB, free: 4.406 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.441/1.441, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.2208/0.2208, allocations: 46.95 MB / 360.8 MB, free: 3.93 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.002317/0.002317, allocations: 80.16 kB / 0.4962 GB, free: 7.555 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3206, allocations: 66.09 MB / 0.5607 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002434/0.323, allocations: 1.213 MB / 0.5619 GB, free: 2.957 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008449/0.3239, allocations: 407.9 kB / 0.5623 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.293e-05/0.3239, allocations: 0 / 0.5623 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.555e-05/0.3239, allocations: 0 / 0.5623 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.469e-05/0.3239, allocations: 0 / 0.5623 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005304/0.3245, allocations: 71.73 kB / 0.5623 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.919e-05/0.3245, allocations: 4 kB / 0.5623 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.221e-05/0.3245, allocations: 7.984 kB / 0.5623 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.027e-05/0.3246, allocations: 4 kB / 0.5623 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.3248, allocations: 35.95 kB / 0.5624 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.243e-06/0.3248, allocations: 0 / 0.5624 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.501e-05/0.3248, allocations: 8 kB / 0.5624 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.156e-06/0.3248, allocations: 0 / 0.5624 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.513e-05/0.3249, allocations: 3.938 kB / 0.5624 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.459e-05/0.3249, allocations: 15.78 kB / 0.5624 GB, free: 2.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.325, allocations: 4 kB / 0.5624 GB, free: 2.406 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.325, allocations: 4 kB / 0.5624 GB, free: 2.402 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.325, allocations: 0 / 0.5624 GB, free: 2.402 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.0002941/0.3253, allocations: 238.5 kB / 0.5626 GB, free: 2.137 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.3253, allocations: 8.031 kB / 0.5627 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.904e-05/0.3253, allocations: 30.75 kB / 0.5627 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.3255, allocations: 4.938 kB / 0.5627 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.547e-05/0.3255, allocations: 106.5 kB / 0.5628 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.3255, allocations: 8.359 kB / 0.5628 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.22e-06/0.3255, allocations: 4.312 kB / 0.5628 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.3256, allocations: 59.91 kB / 0.5629 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3257, allocations: 3.938 kB / 0.5629 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.3257, allocations: 4 kB / 0.5629 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.3257, allocations: 0 / 0.5629 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.634e-05/0.3257, allocations: 4 kB / 0.5629 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003111/0.326, allocations: 350.6 kB / 0.5632 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.391e-05/0.3261, allocations: 177 kB / 0.5634 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.734e-05/0.3261, allocations: 80.14 kB / 0.5634 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.409e-05/0.3262, allocations: 75.28 kB / 0.5635 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.393e-05/0.3262, allocations: 105.8 kB / 0.5636 GB, free: 1.023 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3262, allocations: 0 / 0.5636 GB, free: 1.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 6.489e-05/0.3263, allocations: 37.66 kB / 0.5637 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.343e-05/0.3264, allocations: 130.6 kB / 0.5638 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.105e-05/0.3264, allocations: 100.1 kB / 0.5639 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.3264, allocations: 25.7 kB / 0.5639 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.751e-05/0.3265, allocations: 84.14 kB / 0.564 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.3265, allocations: 3.938 kB / 0.564 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/0.3265, allocations: 9.719 kB / 0.564 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.3266, allocations: 310.8 kB / 0.5643 GB, free: 292 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.053e-06/0.3267, allocations: 4 kB / 0.5643 GB, free: 288 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.53e-06/0.3267, allocations: 4.125 kB / 0.5643 GB, free: 284 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.979e-05/0.3267, allocations: 8.891 kB / 0.5643 GB, free: 272 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3267, allocations: 7.938 kB / 0.5643 GB, free: 264 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.332e-05/0.3268, allocations: 37.69 kB / 0.5644 GB, free: 220 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.3268, allocations: 4 kB / 0.5644 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.3268, allocations: 3.938 kB / 0.5644 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.3268, allocations: 0 / 0.5644 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.786e-05/0.3268, allocations: 4 kB / 0.5644 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.3268, allocations: 0 / 0.5644 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.769e-06/0.3268, allocations: 0 / 0.5644 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.3268, allocations: 4.094 kB / 0.5644 GB, free: 204 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 9.84e-05/0.3269, allocations: 190.2 kB / 0.5645 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.473e-05/0.327, allocations: 101 kB / 0.5646 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.809e-05/0.3271, allocations: 115.7 kB / 0.5648 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.316e-05/0.3272, allocations: 184.3 kB / 0.5649 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-05/0.3272, allocations: 176.3 kB / 0.5651 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-05/0.3273, allocations: 180.2 kB / 0.5653 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.3275, allocations: 377.3 kB / 0.5656 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.654e-05/0.3276, allocations: 112.9 kB / 0.5657 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.498e-05/0.3276, allocations: 101 kB / 0.5658 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.731e-05/0.3277, allocations: 184.3 kB / 0.566 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.661e-05/0.3278, allocations: 180.2 kB / 0.5662 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.441e-05/0.3279, allocations: 184.2 kB / 0.5664 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-05/0.3279, allocations: 184.2 kB / 0.5665 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.3281, allocations: 304 kB / 0.5668 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.433e-05/0.3281, allocations: 109 kB / 0.5669 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.654e-05/0.3282, allocations: 188.2 kB / 0.5671 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.169e-05/0.3283, allocations: 104.9 kB / 0.5672 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.275e-05/0.3284, allocations: 184.3 kB / 0.5674 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.922e-05/0.3284, allocations: 101 kB / 0.5675 GB, free: 12.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.805e-05/0.3285, allocations: 83.22 kB / 0.5676 GB, free: 12.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3285, allocations: 0 / 0.5676 GB, free: 12.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002127/0.3287, allocations: 3.938 kB / 0.5676 GB, free: 12.73 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.0004522/0.3292, allocations: 0.8048 MB / 0.5683 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.275e-05/0.3292, allocations: 4 kB / 0.5684 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3292, allocations: 0 / 0.5684 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.398e-06/0.3292, allocations: 3.938 kB / 0.5684 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.3296, allocations: 455.7 kB / 0.5688 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003911/0.33, allocations: 186.7 kB / 0.569 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.965e-05/0.33, allocations: 55.36 kB / 0.569 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.766e-05/0.3301, allocations: 4 kB / 0.569 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.06e-05/0.3301, allocations: 7.438 kB / 0.569 GB, free: 11.12 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3301, allocations: 0 / 0.569 GB, free: 11.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0253/0.3554, allocations: 1.398 MB / 0.5704 GB, free: 9.824 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.61, allocations: 0 / 0.5704 GB, free: 9.824 MB / 414.1 MB " [Timeout remaining time 648] (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.49902091594413]