Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 118.1 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00201/0.00201, allocations: 193.2 kB / 21.44 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2364/0.2364, allocations: 44.91 MB / 349.6 MB, free: 1.746 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003004/0.003004, allocations: 66.94 kB / 491.8 MB, free: 30.13 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1651, allocations: 64.26 MB / 0.543 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4295/0.5946, allocations: 151.9 MB / 0.6914 GB, free: 4.059 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.5963, allocations: 1.188 MB / 0.6925 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.639e-05/0.5964, allocations: 2.5 kB / 0.6925 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.5966, allocations: 48.06 kB / 0.6926 GB, free: 3.078 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.787e-05/0.5966, allocations: 28.72 kB / 0.6926 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.598, allocations: 441.2 kB / 0.693 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.5981, allocations: 70.14 kB / 0.6931 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.968e-05/0.5981, allocations: 6.484 kB / 0.6931 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.246e-05/0.5982, allocations: 37.83 kB / 0.6931 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.1e-05/0.5983, allocations: 20.86 kB / 0.6932 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.318e-06/0.5983, allocations: 0 / 0.6932 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.5993, allocations: 0.5017 MB / 0.6936 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.5993, allocations: 10.58 kB / 0.6937 GB, free: 2.391 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.813e-05/0.5994, allocations: 24.61 kB / 0.6937 GB, free: 2.379 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005678/0.5999, allocations: 316.5 kB / 0.694 GB, free: 2.215 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6, allocations: 0 / 0.694 GB, free: 2.215 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6, allocations: 0 / 0.694 GB, free: 2.215 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.6, allocations: 0 / 0.694 GB, free: 2.215 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006424/0.6006, allocations: 410.1 kB / 0.6944 GB, free: 1.801 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.6006, allocations: 10.88 kB / 0.6944 GB, free: 1.801 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.188e-05/0.6007, allocations: 36.88 kB / 0.6944 GB, free: 1.758 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.6007, allocations: 11.59 kB / 0.6944 GB, free: 1.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.6009, allocations: 169.8 kB / 0.6946 GB, free: 1.547 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.6009, allocations: 10.53 kB / 0.6946 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.6009, allocations: 6.438 kB / 0.6946 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.6011, allocations: 73.92 kB / 0.6947 GB, free: 1.477 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.6011, allocations: 6.828 kB / 0.6947 GB, free: 1.473 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.6011, allocations: 0 / 0.6947 GB, free: 1.473 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.6011, allocations: 0 / 0.6947 GB, free: 1.473 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.711e-05/0.6012, allocations: 51.52 kB / 0.6947 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005109/0.6017, allocations: 386 kB / 0.6951 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.6018, allocations: 62.34 kB / 0.6952 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.666e-05/0.6019, allocations: 20.72 kB / 0.6952 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001955/0.6038, allocations: 1.224 MB / 0.6964 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.6039, allocations: 41.38 kB / 0.6964 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.6039, allocations: 0 / 0.6964 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.006723/0.6106, allocations: 0.659 MB / 0.6971 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.6106, allocations: 54.03 kB / 0.6971 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.889e-05/0.6107, allocations: 107.2 kB / 0.6972 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.6108, allocations: 32.27 kB / 0.6972 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.805e-05/0.6108, allocations: 84.38 kB / 0.6973 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.835e-05/0.6109, allocations: 63.14 kB / 0.6974 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.611, allocations: 41.83 kB / 0.6974 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.6111, allocations: 321.8 kB / 0.6977 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.6113, allocations: 80.69 kB / 0.6978 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.6115, allocations: 105.8 kB / 0.6979 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003994/0.6119, allocations: 197.2 kB / 0.6981 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.6119, allocations: 6.75 kB / 0.6981 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005327/0.6124, allocations: 254.7 kB / 0.6983 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.6125, allocations: 5.062 kB / 0.6983 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.6125, allocations: 0 / 0.6983 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.6125, allocations: 1.812 kB / 0.6983 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006425/0.6131, allocations: 59.41 kB / 0.6984 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.6131, allocations: 0 / 0.6984 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004849/0.6136, allocations: 12.47 kB / 0.6984 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.45e-05/0.6137, allocations: 17.34 kB / 0.6984 GB, free: 14.18 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 16 * 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.0001288/0.6138, allocations: 122.8 kB / 0.6986 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.242e-05/0.6138, allocations: 6.859 kB / 0.6986 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007685/0.6146, allocations: 347.7 kB / 0.6989 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.6146, allocations: 6.453 kB / 0.6989 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.6146, allocations: 0 / 0.6989 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.6146, allocations: 9.953 kB / 0.6989 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.6158, allocations: 0.7459 MB / 0.6996 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.6158, allocations: 0 / 0.6996 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005912/0.6164, allocations: 48.42 kB / 0.6997 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/0.6164, allocations: 0 / 0.6997 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/0.6164, allocations: 6.891 kB / 0.6997 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.6164, allocations: 0 / 0.6997 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.6164, allocations: 6.688 kB / 0.6997 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005764/0.617, allocations: 353.7 kB / 0.7 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.6171, allocations: 102.7 kB / 0.7001 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.351e-05/0.6171, allocations: 6.125 kB / 0.7001 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004936/0.6176, allocations: 9.234 kB / 0.7001 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.6177, allocations: 19.7 kB / 0.7002 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.847e-05/0.6177, allocations: 15.64 kB / 0.7002 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.106e-05/0.6178, allocations: 91.22 kB / 0.7003 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.6178, allocations: 0 / 0.7003 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000433/0.6182, allocations: 103.1 kB / 0.7004 GB, free: 12.6 MB / 0.4981 GB 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 (19): * Single equations (assignments): 19 * 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.001252/0.6195, allocations: 0.9901 MB / 0.7013 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005249/0.62, allocations: 208.4 kB / 0.7015 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.62, allocations: 0 / 0.7015 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002411/0.6202, allocations: 118.8 kB / 0.7016 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.6207, allocations: 31.84 kB / 0.7017 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000947/0.6216, allocations: 329.9 kB / 0.702 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.622, allocations: 0.701 MB / 0.7027 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003383/0.6223, allocations: 68.48 kB / 0.7027 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/0.6225, allocations: 47.39 kB / 0.7028 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/0.6225, allocations: 0 / 0.7028 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03128/0.6538, allocations: 7.583 MB / 0.7102 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.903/8.556, allocations: 11.45 kB / 0.7102 GB, free: 2.746 MB / 0.4981 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.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: 11.542059147264808]