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.001744/0.001744, allocations: 107.8 kB / 20.48 MB, free: 1.125 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.002501/0.002501, allocations: 212.2 kB / 23.78 MB, free: 4.328 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.454/1.454, allocations: 230.5 MB / 257.4 MB, free: 7.723 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.2313/0.2313, allocations: 46.95 MB / 360.9 MB, free: 3.891 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.002313/0.002313, allocations: 83.86 kB / 0.4962 GB, free: 7.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3062, allocations: 66.07 MB / 0.5608 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002404/0.3086, allocations: 1.214 MB / 0.5619 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008047/0.3094, allocations: 407.3 kB / 0.5623 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.671e-05/0.3094, allocations: 0 / 0.5623 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.709e-05/0.3094, allocations: 0 / 0.5623 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.582e-05/0.3095, allocations: 3.984 kB / 0.5623 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004733/0.3099, allocations: 75.75 kB / 0.5624 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.602e-05/0.31, allocations: 7.984 kB / 0.5624 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.011e-05/0.31, allocations: 0 / 0.5624 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.991e-05/0.31, allocations: 7.984 kB / 0.5624 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.3103, allocations: 31.97 kB / 0.5624 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.812e-06/0.3103, allocations: 0 / 0.5624 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.076e-05/0.3103, allocations: 4 kB / 0.5624 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.106e-05/0.3103, allocations: 7.938 kB / 0.5625 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.104e-05/0.3103, allocations: 7.984 kB / 0.5625 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 7.072e-05/0.3104, allocations: 11.8 kB / 0.5625 GB, free: 2.219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3104, allocations: 4 kB / 0.5625 GB, free: 2.215 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3104, allocations: 0 / 0.5625 GB, free: 2.215 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.3104, allocations: 3.938 kB / 0.5625 GB, free: 2.211 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.0002612/0.3107, allocations: 234.5 kB / 0.5627 GB, free: 1.949 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.3107, allocations: 15.97 kB / 0.5627 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.082e-05/0.3108, allocations: 30.75 kB / 0.5628 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.3109, allocations: 8.922 kB / 0.5628 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.517e-05/0.3109, allocations: 102.5 kB / 0.5629 GB, free: 1.762 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.311, allocations: 384 / 0.5629 GB, free: 1.762 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.311, allocations: 4.375 kB / 0.5629 GB, free: 1.758 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.3111, allocations: 63.95 kB / 0.5629 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3111, allocations: 3.938 kB / 0.5629 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.553e-06/0.3111, allocations: 0 / 0.5629 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.3111, allocations: 0 / 0.5629 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.581e-05/0.3111, allocations: 4 kB / 0.5629 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003089/0.3114, allocations: 354.6 kB / 0.5633 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.827e-05/0.3115, allocations: 169.1 kB / 0.5634 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.807e-05/0.3115, allocations: 80.14 kB / 0.5635 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/0.3116, allocations: 79.28 kB / 0.5636 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.169e-05/0.3116, allocations: 105.8 kB / 0.5637 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.3116, allocations: 4 kB / 0.5637 GB, free: 0.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.108e-05/0.3117, allocations: 37.59 kB / 0.5637 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.3118, allocations: 126.7 kB / 0.5638 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.363e-05/0.3119, allocations: 99.81 kB / 0.5639 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.3119, allocations: 29.64 kB / 0.564 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.496e-05/0.3119, allocations: 80.14 kB / 0.564 GB, free: 440 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/0.3119, allocations: 0 / 0.564 GB, free: 440 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/0.312, allocations: 13.72 kB / 0.5641 GB, free: 420 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.3121, allocations: 314.8 kB / 0.5644 GB, free: 96 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.752e-06/0.3121, allocations: 0 / 0.5644 GB, free: 96 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.951e-06/0.3121, allocations: 8.125 kB / 0.5644 GB, free: 88 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.899e-05/0.3121, allocations: 8.891 kB / 0.5644 GB, free: 76 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3121, allocations: 3.938 kB / 0.5644 GB, free: 72 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.843e-05/0.3122, allocations: 37.62 kB / 0.5644 GB, free: 28 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.3122, allocations: 10.34 kB / 0.5644 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.3122, allocations: 0 / 0.5644 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.3122, allocations: 0 / 0.5644 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.504e-05/0.3123, allocations: 0 / 0.5644 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.3123, allocations: 0 / 0.5644 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.164e-05/0.3123, allocations: 8.094 kB / 0.5644 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.3123, allocations: 0 / 0.5644 GB, free: 12 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.0001118/0.3124, allocations: 185.1 kB / 0.5646 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.674e-05/0.3125, allocations: 109 kB / 0.5647 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.659e-05/0.3125, allocations: 115.7 kB / 0.5648 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.661e-05/0.3126, allocations: 180.2 kB / 0.565 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.517e-05/0.3127, allocations: 184.2 kB / 0.5652 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.085e-05/0.3127, allocations: 176.3 kB / 0.5653 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.313, allocations: 381.2 kB / 0.5657 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-05/0.313, allocations: 109 kB / 0.5658 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.322e-05/0.3131, allocations: 105 kB / 0.5659 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.121e-05/0.3131, allocations: 180.2 kB / 0.5661 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-05/0.3132, allocations: 180.3 kB / 0.5662 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.54e-05/0.3133, allocations: 184.2 kB / 0.5664 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.171e-05/0.3134, allocations: 180.3 kB / 0.5666 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.3135, allocations: 307.9 kB / 0.5669 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.947e-05/0.3136, allocations: 109 kB / 0.567 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.934e-05/0.3137, allocations: 188.2 kB / 0.5672 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.539e-05/0.3137, allocations: 105 kB / 0.5673 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.614e-05/0.3138, allocations: 176.3 kB / 0.5674 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.394e-05/0.3139, allocations: 104.9 kB / 0.5675 GB, free: 12.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.744e-05/0.3139, allocations: 87.22 kB / 0.5676 GB, free: 12.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3139, allocations: 0 / 0.5676 GB, free: 12.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002067/0.3141, allocations: 0 / 0.5676 GB, free: 12.54 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.0004377/0.3146, allocations: 0.8048 MB / 0.5684 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.146e-05/0.3146, allocations: 3.938 kB / 0.5684 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3146, allocations: 0 / 0.5684 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.067e-06/0.3146, allocations: 4 kB / 0.5684 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.315, allocations: 455.7 kB / 0.5689 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003692/0.3154, allocations: 186.7 kB / 0.569 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.932e-05/0.3154, allocations: 55.36 kB / 0.5691 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.586e-05/0.3154, allocations: 0 / 0.5691 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.17e-05/0.3155, allocations: 7.438 kB / 0.5691 GB, free: 10.94 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3155, allocations: 0 / 0.5691 GB, free: 10.94 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02586/0.3413, allocations: 1.483 MB / 0.5705 GB, free: 9.555 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.2, allocations: 2.656 kB / 0.5705 GB, free: 9.555 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.211570573970675]