Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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.0008359/0.0008359, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.000715/0.000715, allocations: 149.1 kB / 23.93 MB, free: 0.625 MB / 18.57 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 0.8279/0.8279, allocations: 173.4 MB / 200.5 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039e-05/1.149e-05, allocations: 2.281 kB / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001424/0.001436, allocations: 1.32 MB / 319.7 MB, free: 5.027 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007401/0.008837, allocations: 10.67 MB / 330.4 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.366e-05/0.008871, allocations: 0 / 330.4 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.003e-05/0.008891, allocations: 11.86 kB / 330.4 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002125/0.01102, allocations: 1.037 MB / 331.5 MB, free: 9.254 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.01208, allocations: 0.668 MB / 332.1 MB, free: 8.582 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.577e-05/0.01217, allocations: 63.66 kB / 332.2 MB, free: 8.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.14e-05/0.0122, allocations: 4 kB / 332.2 MB, free: 8.516 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.138e-05/0.01225, allocations: 31.95 kB / 332.2 MB, free: 8.484 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.053e-05/0.01232, allocations: 31.89 kB / 332.3 MB, free: 8.453 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.01233, allocations: 4 kB / 332.3 MB, free: 8.449 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/0.01399, allocations: 1.49 MB / 333.7 MB, free: 6.957 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.534e-05/0.01401, allocations: 11.94 kB / 333.8 MB, free: 6.945 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.694e-05/0.01403, allocations: 19.97 kB / 333.8 MB, free: 6.926 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.01521, allocations: 1.239 MB / 335 MB, free: 5.684 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.01521, allocations: 0 / 335 MB, free: 5.684 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01521, allocations: 0 / 335 MB, free: 5.684 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.01522, allocations: 0 / 335 MB, free: 5.684 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004993/0.01572, allocations: 499.4 kB / 335.5 MB, free: 5.168 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.01575, allocations: 12.92 kB / 335.5 MB, free: 5.156 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.466e-05/0.01578, allocations: 30.75 kB / 335.6 MB, free: 5.117 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.99e-05/0.01586, allocations: 12.89 kB / 335.6 MB, free: 5.105 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.861e-05/0.01595, allocations: 121.7 kB / 335.7 MB, free: 4.961 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.01596, allocations: 384 / 335.7 MB, free: 4.961 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.01597, allocations: 12.36 kB / 335.7 MB, free: 4.949 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.01609, allocations: 119.3 kB / 335.8 MB, free: 4.809 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.0161, allocations: 192 / 335.8 MB, free: 4.809 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.01611, allocations: 7.938 kB / 335.8 MB, free: 4.801 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.01612, allocations: 0 / 335.8 MB, free: 4.801 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.36e-05/0.01618, allocations: 23.97 kB / 335.8 MB, free: 4.777 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001232/0.0163, allocations: 141.7 kB / 336 MB, free: 4.594 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.01649, allocations: 77.12 kB / 336.1 MB, free: 4.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.489e-05/0.01653, allocations: 17.78 kB / 336.1 MB, free: 4.477 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002618/0.01915, allocations: 1.506 MB / 337.6 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.01917, allocations: 34.5 kB / 337.6 MB, free: 2.926 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.021e-06/0.01917, allocations: 0 / 337.6 MB, free: 2.926 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001966/0.01937, allocations: 85.55 kB / 337.7 MB, free: 2.836 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.0194, allocations: 89.05 kB / 337.8 MB, free: 2.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.163e-05/0.01946, allocations: 113.8 kB / 337.9 MB, free: 2.609 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.01947, allocations: 25.7 kB / 337.9 MB, free: 2.578 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.477e-05/0.01949, allocations: 84.14 kB / 338 MB, free: 2.492 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.01952, allocations: 31.72 kB / 338 MB, free: 2.461 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.01955, allocations: 17.72 kB / 338 MB, free: 2.438 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.782e-05/0.01962, allocations: 314.8 kB / 338.4 MB, free: 2.121 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.099e-05/0.01965, allocations: 15.98 kB / 338.4 MB, free: 2.105 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.37e-05/0.01968, allocations: 25.64 kB / 338.4 MB, free: 2.074 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.535e-05/0.01975, allocations: 42.06 kB / 338.4 MB, free: 2.027 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.01975, allocations: 7.938 kB / 338.4 MB, free: 2.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.055e-05/0.01984, allocations: 69.62 kB / 338.5 MB, free: 1.945 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.01985, allocations: 8 kB / 338.5 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.01985, allocations: 3.938 kB / 338.5 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.01986, allocations: 0 / 338.5 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.4e-05/0.0199, allocations: 8 kB / 338.5 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.0199, allocations: 11.92 kB / 338.5 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.953e-05/0.01992, allocations: 0 / 338.5 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.01993, allocations: 4.312 kB / 338.6 MB, free: 1.91 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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 5.285e-05/0.01998, allocations: 113.8 kB / 338.7 MB, free: 1.789 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.017e-05/0.01999, allocations: 4 kB / 338.7 MB, free: 1.785 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001627/0.02016, allocations: 113.4 kB / 338.8 MB, free: 1.668 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.02016, allocations: 0 / 338.8 MB, free: 1.668 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.02016, allocations: 0 / 338.8 MB, free: 1.668 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.02017, allocations: 4 kB / 338.8 MB, free: 1.664 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.448e-05/0.02024, allocations: 136.7 kB / 338.9 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.02024, allocations: 128 / 338.9 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.721e-05/0.02027, allocations: 19.98 kB / 338.9 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.02027, allocations: 7.938 kB / 338.9 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-06/0.02028, allocations: 7.938 kB / 338.9 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.02028, allocations: 0 / 338.9 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.02028, allocations: 0 / 338.9 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.02038, allocations: 93.97 kB / 339 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.505e-05/0.02041, allocations: 11.94 kB / 339.1 MB, free: 1.328 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.02042, allocations: 11.94 kB / 339.1 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.092e-05/0.02045, allocations: 0 / 339.1 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.02048, allocations: 7.984 kB / 339.1 MB, free: 1.309 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-06/0.02049, allocations: 8 kB / 339.1 MB, free: 1.301 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.394e-05/0.02052, allocations: 95.27 kB / 339.2 MB, free: 1.207 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02052, allocations: 0 / 339.2 MB, free: 1.207 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004399/0.02096, allocations: 330.8 kB / 339.5 MB, free: 0.8789 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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.0009266/0.02189, allocations: 1.155 MB / 340.7 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001084/0.022, allocations: 35.92 kB / 340.7 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.022, allocations: 0 / 340.7 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.382e-05/0.02203, allocations: 19.98 kB / 340.7 MB, free: 15.63 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.02216, allocations: 14.95 kB / 340.7 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.02319, allocations: 1.456 MB / 342.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.717e-05/0.02323, allocations: 75.33 kB / 342.2 MB, free: 13.98 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.327e-05/0.0233, allocations: 48.09 kB / 342.3 MB, free: 13.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.125e-05/0.02334, allocations: 28.42 kB / 342.3 MB, free: 13.9 MB / 314.7 MB Notification: Performance of SimCode: time 3e-07/0.02334, allocations: 4 kB / 342.3 MB, free: 13.9 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02048/0.04383, allocations: 11.35 MB / 353.7 MB, free: 2.656 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.991/7.034, allocations: 10.47 kB / 353.7 MB, free: 2.652 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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.554263757541776]