Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.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.001752/0.001752, allocations: 116.9 kB / 18.45 MB, free: 4.566 MB / 14.72 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.002131/0.002131, allocations: 213.6 kB / 21.42 MB, free: 1.605 MB / 14.72 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 1.552/1.552, allocations: 207.6 MB / 231.8 MB, free: 4.051 MB / 174.1 MB " [Timeout remaining time 178] 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(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_3_2_3_Modelica_Utilities_Examples_readRealParameterModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_3_2_3_Modelica_Utilities_Examples_readRealParameterModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001731, allocations: 51.94 kB / 342.3 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1035, allocations: 49.13 MB / 391.4 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002305/0.1058, allocations: 1.187 MB / 392.6 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004164/0.1099, allocations: 2.019 MB / 394.6 MB, free: 5.488 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.174e-05/0.11, allocations: 4 kB / 394.6 MB, free: 5.484 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.569e-05/0.11, allocations: 0 / 394.6 MB, free: 5.484 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001617/0.1116, allocations: 438.6 kB / 395 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.397e-05/0.1116, allocations: 7.984 kB / 395 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.986e-05/0.1117, allocations: 7.938 kB / 395 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.98e-05/0.1118, allocations: 4 kB / 395 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.859e-05/0.1118, allocations: 4 kB / 395 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/0.1121, allocations: 15.95 kB / 395.1 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.1121, allocations: 3.938 kB / 395.1 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.1131, allocations: 483.4 kB / 395.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.848e-05/0.1132, allocations: 8 kB / 395.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.1132, allocations: 0 / 395.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006643/0.1138, allocations: 343.4 kB / 395.9 MB, free: 4.195 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1138, allocations: 0 / 395.9 MB, free: 4.195 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1138, allocations: 0 / 395.9 MB, free: 4.195 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.1139, allocations: 3.938 kB / 395.9 MB, free: 4.191 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005929/0.1144, allocations: 406.7 kB / 396.3 MB, free: 3.746 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.1145, allocations: 15.95 kB / 396.3 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.629e-05/0.1146, allocations: 110 kB / 396.4 MB, free: 3.613 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.623e-05/0.1147, allocations: 84.16 kB / 396.5 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.1149, allocations: 235.7 kB / 396.7 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.463e-05/0.115, allocations: 158.9 kB / 396.9 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.806e-05/0.1151, allocations: 158.5 kB / 397 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.521e-05/0.1151, allocations: 105 kB / 397.1 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.864e-05/0.1152, allocations: 75.28 kB / 397.2 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.658e-05/0.1153, allocations: 154.6 kB / 397.4 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.681e-05/0.1154, allocations: 150.6 kB / 397.5 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.767e-05/0.1154, allocations: 154.5 kB / 397.7 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004075/0.1158, allocations: 446 kB / 398.1 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.116, allocations: 177.1 kB / 398.3 MB, free: 1.645 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.213e-05/0.116, allocations: 80.14 kB / 398.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.34e-05/0.1161, allocations: 75.28 kB / 398.4 MB, free: 1.488 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002104/0.1163, allocations: 51.36 kB / 398.5 MB, free: 1.426 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 2.785e-06/0.1163, allocations: 0 / 398.5 MB, free: 1.426 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001603/0.1164, allocations: 41.64 kB / 398.5 MB, free: 1.379 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.421e-05/0.1165, allocations: 51.41 kB / 398.6 MB, free: 1.316 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.1166, allocations: 101.9 kB / 398.7 MB, free: 1.207 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.1166, allocations: 25.7 kB / 398.7 MB, free: 1.176 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.089e-05/0.1167, allocations: 84.12 kB / 398.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.1167, allocations: 0 / 398.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.1167, allocations: 13.72 kB / 398.8 MB, free: 1.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.1169, allocations: 315 kB / 399.1 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.036e-05/0.1169, allocations: 4 kB / 399.1 MB, free: 0.75 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.857e-06/0.1169, allocations: 3.938 kB / 399.1 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.672e-05/0.117, allocations: 8.859 kB / 399.1 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.117, allocations: 3.938 kB / 399.1 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.41e-05/0.1171, allocations: 37.69 kB / 399.1 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1171, allocations: 8 kB / 399.1 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.1171, allocations: 0 / 399.1 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1171, allocations: 0 / 399.1 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.271e-05/0.1171, allocations: 8.031 kB / 399.2 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.423e-06/0.1171, allocations: 0 / 399.2 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.292e-05/0.1171, allocations: 4 kB / 399.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.1172, allocations: 3.938 kB / 399.2 MB, free: 0.6641 MB / 318.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 ($whenCondition1) * 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.0001021/0.1173, allocations: 113.8 kB / 399.3 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.1173, allocations: 3.938 kB / 399.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.1173, allocations: 7.109 kB / 399.3 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1173, allocations: 0 / 399.3 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1173, allocations: 4 kB / 399.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1173, allocations: 4 kB / 399.3 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.1175, allocations: 153.6 kB / 399.4 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.1175, allocations: 0 / 399.4 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.076e-06/0.1175, allocations: 4 kB / 399.4 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1175, allocations: 0 / 399.4 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.1175, allocations: 0 / 399.4 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1175, allocations: 0 / 399.4 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1175, allocations: 0 / 399.4 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.279e-05/0.1176, allocations: 65.08 kB / 399.5 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.156e-05/0.1177, allocations: 81.09 kB / 399.6 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.1177, allocations: 0 / 399.6 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.623e-05/0.1177, allocations: 0 / 399.6 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.084e-05/0.1177, allocations: 0 / 399.6 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.1177, allocations: 0 / 399.6 MB, free: 148 kB / 318.1 MB Notification: Performance of sorting global known variables: time 5.779e-05/0.1178, allocations: 87.39 kB / 399.7 MB, free: 60 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1178, allocations: 4 kB / 399.7 MB, free: 56 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.000603/0.1184, allocations: 127.6 kB / 399.8 MB, free: 15.93 MB / 334.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 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001708/0.1201, allocations: 0.97 MB / 400.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.494e-05/0.1202, allocations: 4 kB / 400.8 MB, free: 14.92 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1202, allocations: 3.938 kB / 400.8 MB, free: 14.92 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.43e-05/0.1202, allocations: 8 kB / 400.8 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/0.1204, allocations: 8.062 kB / 400.8 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.1218, allocations: 1.15 MB / 401.9 MB, free: 13.67 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.1221, allocations: 0.6768 MB / 402.6 MB, free: 12.97 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.028e-05/0.1221, allocations: 7.984 kB / 402.6 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.726e-05/0.1222, allocations: 15.44 kB / 402.6 MB, free: 12.95 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1222, allocations: 0 / 402.6 MB, free: 12.95 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03204/0.1542, allocations: 3.926 MB / 406.6 MB, free: 8.969 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.987/8.141, allocations: 15.81 kB / 406.6 MB, free: 8.953 MB / 334.1 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_3_2_3_Modelica_Utilities_Examples_readRealParameterModel.fmu > Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/readRealParameterModel/readRealParameterModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.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: 10.811909904005006]