Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.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.001331/0.001331, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001435/0.001435, allocations: 207.9 kB / 23.73 MB, free: 4.391 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.436/1.436, allocations: 230.5 MB / 257.4 MB, free: 7.758 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.2272/0.2272, allocations: 46.95 MB / 360.8 MB, free: 3.949 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.Utilities.TestFiles,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestFiles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestFiles,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestFiles",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002486/0.002486, allocations: 79.81 kB / 0.4961 GB, free: 7.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3216, allocations: 66.09 MB / 0.5607 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.0016/0.3232, allocations: 481.1 kB / 0.5611 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002518/0.3257, allocations: 1.346 MB / 0.5624 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.86e-05/0.3258, allocations: 0 / 0.5624 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.527e-05/0.3258, allocations: 4 kB / 0.5625 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002553/0.326, allocations: 7.984 kB / 0.5625 GB, free: 2.207 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Utilities.mo:466:3-498:12:writable] Warning: Pure function 'ModelicaTest.Utilities.Files' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.3274, allocations: 271.6 kB / 0.5627 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.627e-05/0.3275, allocations: 11.88 kB / 0.5627 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.364e-05/0.3275, allocations: 4 kB / 0.5627 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.312e-05/0.3276, allocations: 4 kB / 0.5627 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.939e-05/0.3276, allocations: 0 / 0.5627 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.3276, allocations: 3.984 kB / 0.5627 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004172/0.3318, allocations: 0.711 MB / 0.5634 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.3318, allocations: 0 / 0.5634 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.3318, allocations: 7.938 kB / 0.5634 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003646/0.3322, allocations: 177.6 kB / 0.5636 GB, free: 1.156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.3322, allocations: 0 / 0.5636 GB, free: 1.156 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3322, allocations: 0 / 0.5636 GB, free: 1.156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.3322, allocations: 0 / 0.5636 GB, free: 1.156 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.0004212/0.3327, allocations: 315.6 kB / 0.5639 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.3327, allocations: 8.031 kB / 0.5639 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.972e-05/0.3327, allocations: 30.75 kB / 0.564 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.322e-05/0.3327, allocations: 4.938 kB / 0.564 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.3328, allocations: 110.5 kB / 0.5641 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.3329, allocations: 384 / 0.5641 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.687e-06/0.3329, allocations: 384 / 0.5641 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.849e-05/0.333, allocations: 55.97 kB / 0.5641 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.333, allocations: 3.938 kB / 0.5641 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.333, allocations: 0 / 0.5641 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.333, allocations: 0 / 0.5641 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.696e-05/0.333, allocations: 37.64 kB / 0.5642 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001307/0.3332, allocations: 116.8 kB / 0.5643 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.06e-05/0.3332, allocations: 48.31 kB / 0.5643 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.164e-05/0.3333, allocations: 38.62 kB / 0.5643 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.3333, allocations: 0 / 0.5643 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.601e-05/0.3333, allocations: 56.27 kB / 0.5644 GB, free: 180 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.3333, allocations: 0 / 0.5644 GB, free: 180 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001978/0.3335, allocations: 126.7 kB / 0.5645 GB, free: 28 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.906e-05/0.3336, allocations: 81.11 kB / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.623e-05/0.3337, allocations: 97.84 kB / 0.5647 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.3337, allocations: 25.7 kB / 0.5647 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.738e-05/0.3337, allocations: 84.33 kB / 0.5648 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.27e-05/0.3337, allocations: 4 kB / 0.5648 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/0.3338, allocations: 13.72 kB / 0.5648 GB, free: 15.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.3339, allocations: 314.8 kB / 0.5651 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.495e-05/0.3339, allocations: 25.7 kB / 0.5651 GB, free: 15.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.317e-05/0.3339, allocations: 29.7 kB / 0.5652 GB, free: 15.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.297e-05/0.334, allocations: 64.25 kB / 0.5652 GB, free: 15.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.334, allocations: 0 / 0.5652 GB, free: 15.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.698e-05/0.3341, allocations: 97 kB / 0.5653 GB, free: 15.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.594e-05/0.3341, allocations: 33.64 kB / 0.5654 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3341, allocations: 16.02 kB / 0.5654 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3341, allocations: 4 kB / 0.5654 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.3341, allocations: 0 / 0.5654 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.3342, allocations: 0 / 0.5654 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.598e-05/0.3342, allocations: 0 / 0.5654 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.3342, allocations: 0 / 0.5654 GB, free: 15.05 MB / 414.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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001079/0.3343, allocations: 135.5 kB / 0.5655 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.063e-05/0.3343, allocations: 3.938 kB / 0.5655 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.353e-05/0.3343, allocations: 3.156 kB / 0.5655 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3343, allocations: 4 kB / 0.5655 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3343, allocations: 4 kB / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3343, allocations: 0 / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.3344, allocations: 120.8 kB / 0.5656 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.3344, allocations: 4 kB / 0.5656 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.3344, allocations: 0 / 0.5656 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.3344, allocations: 3.938 kB / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.3344, allocations: 0 / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.3344, allocations: 0 / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.3344, allocations: 0 / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.3346, allocations: 124.5 kB / 0.5658 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.316e-06/0.3346, allocations: 4.031 kB / 0.5658 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.3346, allocations: 3.938 kB / 0.5658 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.055e-05/0.3346, allocations: 0 / 0.5658 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.791e-05/0.3346, allocations: 7.984 kB / 0.5658 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.3346, allocations: 7.969 kB / 0.5658 GB, free: 14.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.42e-05/0.3347, allocations: 79.28 kB / 0.5659 GB, free: 14.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3347, allocations: 3.938 kB / 0.5659 GB, free: 14.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002933/0.335, allocations: 67.8 kB / 0.5659 GB, free: 14.39 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.00117/0.3361, allocations: 0.884 MB / 0.5668 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001316/0.3363, allocations: 114.8 kB / 0.5669 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3363, allocations: 3.938 kB / 0.5669 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.942e-05/0.3363, allocations: 89.09 kB / 0.567 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.3365, allocations: 7.938 kB / 0.567 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003956/0.3368, allocations: 164.2 kB / 0.5672 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.971e-05/0.3369, allocations: 59.34 kB / 0.5672 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.556e-06/0.3369, allocations: 0 / 0.5672 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.3369, allocations: 7.438 kB / 0.5672 GB, free: 12.98 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3369, allocations: 3.938 kB / 0.5672 GB, free: 12.97 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03111/0.3681, allocations: 3.066 MB / 0.5702 GB, free: 10.01 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.78, allocations: 6.781 kB / 0.5702 GB, free: 10.01 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_trunk_ModelicaTest_Utilities_TestFiles.fmu > ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestFiles/TestFiles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.640166150871664]