Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009132/0.0009132, allocations: 79.69 kB / 20.02 MB, free: 4.504 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009979/0.0009979, allocations: 166 kB / 23.32 MB, free: 1.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.862/0.862, allocations: 158.6 MB / 185.1 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1306/0.1306, allocations: 32.36 MB / 269.7 MB, free: 14.92 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestStreams,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestStreams,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStreams",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 407 MB, free: 2.16 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.409e-05/1.527e-05, allocations: 10.08 kB / 407 MB, free: 2.152 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.001093/0.001108, allocations: 0.4909 MB / 407.5 MB, free: 1.664 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005616/0.00167, allocations: 300.8 kB / 407.8 MB, free: 1.371 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.669e-05/0.001696, allocations: 4 kB / 407.8 MB, free: 1.367 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.639e-05/0.001713, allocations: 0 / 407.8 MB, free: 1.367 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.875e-06/0.001721, allocations: 0 / 407.8 MB, free: 1.367 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000762/0.002483, allocations: 102.9 kB / 407.9 MB, free: 1.27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.842e-05/0.002531, allocations: 0 / 407.9 MB, free: 1.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.951e-05/0.00256, allocations: 4 kB / 407.9 MB, free: 1.266 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.57e-05/0.002586, allocations: 0 / 407.9 MB, free: 1.266 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.187e-05/0.002608, allocations: 0 / 407.9 MB, free: 1.266 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.514e-06/0.002616, allocations: 0 / 407.9 MB, free: 1.266 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.002792, allocations: 111.8 kB / 408 MB, free: 1.156 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.584e-06/0.0028, allocations: 0 / 408 MB, free: 1.156 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.85e-05/0.002818, allocations: 7.938 kB / 408 MB, free: 1.148 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.002981, allocations: 107.8 kB / 408.1 MB, free: 1.043 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.002983, allocations: 0 / 408.1 MB, free: 1.043 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.002984, allocations: 0 / 408.1 MB, free: 1.043 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.002989, allocations: 4 kB / 408.1 MB, free: 1.039 MB / 378.7 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.0002457/0.003235, allocations: 287.9 kB / 408.4 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.003272, allocations: 8.031 kB / 408.4 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.013e-05/0.003292, allocations: 30.75 kB / 408.5 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.066e-05/0.003313, allocations: 0.9375 kB / 408.5 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.857e-05/0.003362, allocations: 109.7 kB / 408.6 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.233e-06/0.003369, allocations: 8.375 kB / 408.6 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.003378, allocations: 4.312 kB / 408.6 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.916e-05/0.003467, allocations: 63.95 kB / 408.7 MB, free: 464 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.003474, allocations: 192 / 408.7 MB, free: 464 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.003481, allocations: 384 / 408.7 MB, free: 464 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.003487, allocations: 4.125 kB / 408.7 MB, free: 460 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.202e-05/0.003509, allocations: 25.7 kB / 408.7 MB, free: 428 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001016/0.003611, allocations: 120.7 kB / 408.8 MB, free: 264 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.212e-05/0.003663, allocations: 48.22 kB / 408.8 MB, free: 200 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.158e-05/0.003684, allocations: 38.64 kB / 408.9 MB, free: 152 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.464e-06/0.003692, allocations: 4 kB / 408.9 MB, free: 148 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.003726, allocations: 56.27 kB / 408.9 MB, free: 76 kB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.003727, allocations: 0 / 408.9 MB, free: 76 kB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.00019/0.003917, allocations: 118.8 kB / 409.1 MB, free: 15.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.003962, allocations: 85.03 kB / 409.1 MB, free: 15.83 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.933e-05/0.003991, allocations: 89.86 kB / 409.2 MB, free: 15.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.427e-06/0.004, allocations: 29.64 kB / 409.3 MB, free: 15.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.866e-05/0.004019, allocations: 80.14 kB / 409.3 MB, free: 15.62 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.004038, allocations: 0 / 409.3 MB, free: 15.62 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.013e-05/0.004058, allocations: 13.72 kB / 409.4 MB, free: 15.6 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.896e-05/0.004137, allocations: 315 kB / 409.7 MB, free: 15.28 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.912e-05/0.004156, allocations: 29.7 kB / 409.7 MB, free: 15.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.45e-05/0.00417, allocations: 33.7 kB / 409.7 MB, free: 15.21 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.098e-05/0.004211, allocations: 64.25 kB / 409.8 MB, free: 15.13 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.004213, allocations: 0 / 409.8 MB, free: 15.13 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.846e-05/0.004272, allocations: 85.11 kB / 409.9 MB, free: 15.03 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.004301, allocations: 33.7 kB / 409.9 MB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.004307, allocations: 0 / 409.9 MB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.00432, allocations: 0 / 409.9 MB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.054e-06/0.004322, allocations: 4.031 kB / 409.9 MB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.004329, allocations: 11.92 kB / 409.9 MB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.14e-05/0.00434, allocations: 4 kB / 409.9 MB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.004346, allocations: 0 / 409.9 MB, free: 14.97 MB / 394.7 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 6.595e-05/0.004412, allocations: 135.5 kB / 410.1 MB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.689e-06/0.004417, allocations: 0 / 410.1 MB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.022e-05/0.004427, allocations: 3 kB / 410.1 MB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.00443, allocations: 0 / 410.1 MB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.004435, allocations: 7.875 kB / 410.1 MB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.004437, allocations: 0 / 410.1 MB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.711e-05/0.004504, allocations: 120.8 kB / 410.2 MB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.004505, allocations: 4 kB / 410.2 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.3e-07/0.004506, allocations: 0 / 410.2 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.004507, allocations: 0 / 410.2 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.004513, allocations: 0 / 410.2 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.004513, allocations: 0 / 410.2 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.004515, allocations: 3.938 kB / 410.2 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.543e-05/0.00459, allocations: 120.5 kB / 410.3 MB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.917e-06/0.004594, allocations: 4 kB / 410.3 MB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.816e-06/0.004603, allocations: 3.938 kB / 410.3 MB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.989e-06/0.004608, allocations: 0 / 410.3 MB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.513e-05/0.004623, allocations: 7.969 kB / 410.3 MB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-06/0.004627, allocations: 8 kB / 410.3 MB, free: 14.47 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.908e-05/0.004646, allocations: 75.28 kB / 410.4 MB, free: 14.39 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004646, allocations: 0 / 410.4 MB, free: 14.39 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001706/0.004817, allocations: 35.86 kB / 410.4 MB, free: 14.36 MB / 394.7 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.0005667/0.005383, allocations: 0.8292 MB / 411.3 MB, free: 13.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.261e-05/0.005476, allocations: 118.8 kB / 411.4 MB, free: 13.36 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.005478, allocations: 0 / 411.4 MB, free: 13.36 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.518e-05/0.005533, allocations: 77.11 kB / 411.5 MB, free: 13.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.449e-05/0.005627, allocations: 15.92 kB / 411.5 MB, free: 13.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000232/0.005859, allocations: 152 kB / 411.6 MB, free: 13.06 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.141e-05/0.005891, allocations: 55.36 kB / 411.7 MB, free: 12.98 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.248e-06/0.005895, allocations: 0 / 411.7 MB, free: 12.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.52e-05/0.00591, allocations: 8.5 kB / 411.7 MB, free: 12.98 MB / 394.7 MB Notification: Performance of SimCode: time 3.71e-07/0.005911, allocations: 0 / 411.7 MB, free: 12.98 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01409/0.02, allocations: 2.491 MB / 414.2 MB, free: 10.46 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.793/6.813, allocations: 11.92 kB / 414.2 MB, free: 10.45 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStreams.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestStreams/TestStreams.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_res.csv: Error: Error opening file: ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,result Variables in the result: [Calling sys.exit(0), Time elapsed: 8.871509184129536]