Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.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.0008424/0.0008424, allocations: 72.55 kB / 19.92 MB, free: 4.621 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.0009313/0.0009313, allocations: 173.9 kB / 23.21 MB, free: 1.336 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.8372/0.8372, allocations: 158.6 MB / 185 MB, free: 3.016 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.1267/0.1267, allocations: 32.37 MB / 269.6 MB, free: 14.96 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.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 406.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.421e-05, allocations: 5.938 kB / 406.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.00228/0.002304, allocations: 1.833 MB / 408.7 MB, free: 11.69 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000685/0.002989, allocations: 0.5655 MB / 409.2 MB, free: 11.12 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.371e-05/0.003063, allocations: 4 kB / 409.2 MB, free: 11.11 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.003213, allocations: 39.64 kB / 409.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.313e-05/0.003306, allocations: 31.7 kB / 409.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001379/0.003444, allocations: 39.95 kB / 409.3 MB, free: 11 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000144/0.003588, allocations: 155.4 kB / 409.5 MB, free: 10.85 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.003724, allocations: 49.62 kB / 409.5 MB, free: 10.8 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.003865, allocations: 87.8 kB / 409.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.427e-05/0.003929, allocations: 51.81 kB / 409.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.994e-05/0.003959, allocations: 19.94 kB / 409.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.406e-05/0.003973, allocations: 12 kB / 409.7 MB, free: 10.63 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.341e-05/0.003996, allocations: 27.91 kB / 409.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.968e-05/0.004036, allocations: 43.91 kB / 409.8 MB, free: 10.56 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.004196, allocations: 163.4 kB / 409.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.0042, allocations: 7.984 kB / 409.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.004202, allocations: 0 / 409.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.004207, allocations: 0 / 409.9 MB, free: 10.39 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0004418/0.004649, allocations: 366 kB / 410.3 MB, free: 10.01 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.004688, allocations: 12.03 kB / 410.3 MB, free: 9.996 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.726e-05/0.004725, allocations: 46.73 kB / 410.4 MB, free: 9.941 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.8e-05/0.004753, allocations: 16.84 kB / 410.4 MB, free: 9.926 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.004933, allocations: 145.5 kB / 410.5 MB, free: 9.758 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.004945, allocations: 12.66 kB / 410.5 MB, free: 9.746 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.004959, allocations: 16.31 kB / 410.5 MB, free: 9.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.005167, allocations: 140.4 kB / 410.7 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.005174, allocations: 192 / 410.7 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.005187, allocations: 8.125 kB / 410.7 MB, free: 9.582 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.005193, allocations: 7.984 kB / 410.7 MB, free: 9.574 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.005351, allocations: 104.2 kB / 410.8 MB, free: 9.473 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005931/0.005944, allocations: 0.5438 MB / 411.3 MB, free: 8.867 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.006131, allocations: 70.55 kB / 411.4 MB, free: 8.789 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.033e-05/0.006181, allocations: 24.97 kB / 411.4 MB, free: 8.762 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.006198, allocations: 4 kB / 411.4 MB, free: 8.758 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.006215, allocations: 30.56 kB / 411.5 MB, free: 8.719 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.006216, allocations: 0 / 411.5 MB, free: 8.719 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002414/0.006458, allocations: 113.6 kB / 411.6 MB, free: 8.602 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.006484, allocations: 51.41 kB / 411.6 MB, free: 8.539 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.95e-05/0.006573, allocations: 157.6 kB / 411.8 MB, free: 8.375 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.006583, allocations: 25.7 kB / 411.8 MB, free: 8.344 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.646e-05/0.006639, allocations: 143.6 kB / 411.9 MB, free: 8.199 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.1e-05/0.00665, allocations: 19.84 kB / 412 MB, free: 8.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.006683, allocations: 25.67 kB / 412 MB, free: 8.148 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.357e-05/0.006757, allocations: 318.8 kB / 412.3 MB, free: 7.828 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.443e-05/0.006811, allocations: 35.97 kB / 412.3 MB, free: 7.793 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.499e-05/0.006876, allocations: 68.45 kB / 412.4 MB, free: 7.711 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.006988, allocations: 88.2 kB / 412.5 MB, free: 7.609 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.006991, allocations: 4 kB / 412.5 MB, free: 7.605 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001517/0.007143, allocations: 137.4 kB / 412.6 MB, free: 7.465 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.007156, allocations: 6.656 kB / 412.6 MB, free: 7.461 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.007162, allocations: 4 kB / 412.6 MB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.007173, allocations: 0 / 412.6 MB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.614e-05/0.00724, allocations: 23.98 kB / 412.7 MB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.007245, allocations: 4 kB / 412.7 MB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.44e-05/0.007289, allocations: 23.94 kB / 412.7 MB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.007296, allocations: 4 kB / 412.7 MB, free: 7.402 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (11): * Single equations (assignments): 11 * 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 6.262e-05/0.007359, allocations: 125.8 kB / 412.8 MB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.007374, allocations: 7.953 kB / 412.8 MB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.642e-05/0.0074, allocations: 12.45 kB / 412.8 MB, free: 7.242 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.007404, allocations: 4 kB / 412.8 MB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.007407, allocations: 0 / 412.8 MB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.007411, allocations: 3.938 kB / 412.8 MB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.007539, allocations: 168.7 kB / 413 MB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.00754, allocations: 0 / 413 MB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.797e-05/0.007578, allocations: 19.98 kB / 413 MB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.007579, allocations: 0 / 413 MB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.007585, allocations: 3.938 kB / 413 MB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.007586, allocations: 4 kB / 413 MB, free: 7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.007587, allocations: 0 / 413 MB, free: 7 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.007726, allocations: 195.3 kB / 413.2 MB, free: 6.793 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.077e-05/0.007737, allocations: 3.953 kB / 413.2 MB, free: 6.789 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.007749, allocations: 8 kB / 413.2 MB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.506e-05/0.007795, allocations: 11.98 kB / 413.2 MB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.723e-05/0.007822, allocations: 0 / 413.2 MB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.007825, allocations: 3.938 kB / 413.3 MB, free: 6.766 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.875e-05/0.007874, allocations: 115.2 kB / 413.4 MB, free: 6.652 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007874, allocations: 0 / 413.4 MB, free: 6.652 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001598/0.008033, allocations: 27.89 kB / 413.4 MB, free: 6.625 MB / 346.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0002909/0.008324, allocations: 0.7124 MB / 414.1 MB, free: 5.883 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001443/0.008469, allocations: 71.89 kB / 414.2 MB, free: 5.812 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.00847, allocations: 0 / 414.2 MB, free: 5.812 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.606e-05/0.008516, allocations: 27.97 kB / 414.2 MB, free: 5.785 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.008696, allocations: 11.94 kB / 414.2 MB, free: 5.773 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.009836, allocations: 1.618 MB / 415.8 MB, free: 4.051 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.914e-05/0.009905, allocations: 98.12 kB / 415.9 MB, free: 3.934 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.255e-05/0.009938, allocations: 12.72 kB / 415.9 MB, free: 3.922 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5e-05/0.009988, allocations: 36.48 kB / 416 MB, free: 3.887 MB / 346.7 MB Notification: Performance of SimCode: time 8.01e-07/0.009988, allocations: 0 / 416 MB, free: 3.887 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01307/0.02306, allocations: 2.81 MB / 418.8 MB, free: 1.082 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.481/6.504, allocations: 8 kB / 418.8 MB, free: 1.074 MB / 346.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.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: 8.305360761471093]