Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0004494/0.0004494, allocations: 0 / 0, free: 0 / 0 " [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.000491/0.000491, allocations: 0 / 0, free: 0 / 0 " [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.2744/0.2744, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.096e-06/3.096e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.452e-05/1.761e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002865/0.002883, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.0257/0.02858, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 5.433e-05/0.02863, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 4.444e-05/0.02868, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.006433/0.03511, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.00368/0.03879, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0001162/0.03891, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 2.228e-05/0.03893, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.03905, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.03915, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.03917, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.009096/0.04827, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 2.691e-05/0.04829, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 6.479e-05/0.04836, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.004608/0.05297, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 2.084e-05/0.05299, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.366e-06/0.05299, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 6.492e-06/0.053, allocations: 0 / 0, free: 0 / 0 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.002387/0.05538, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 6.457e-05/0.05545, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.512e-05/0.05553, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004642/0.056, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.05627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.0563, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/0.05634, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003413/0.05668, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.05669, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.069e-05/0.05672, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.05672, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002139/0.05694, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004141/0.05735, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0004038/0.05775, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.05787, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.009122/0.067, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/0.06704, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=6): time 4.095e-05/0.06708, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=6): time 0.0006745/0.06776, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 7.415e-05/0.06783, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.06802, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.06805, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.06821, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 4.437e-05/0.06825, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.06838, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0002108/0.06859, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 9.699e-05/0.06869, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.06881, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.06905, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.06905, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005015/0.06955, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.06958, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.06958, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.06959, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.0697, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.06971, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.221e-05/0.06979, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/0.06982, allocations: 0 / 0, free: 0 / 0 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 0.0001697/0.06999, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 8.985e-05/0.07008, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005427/0.07062, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.07063, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.07064, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.07064, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003639/0.07101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.07101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.07112, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.07112, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.07115, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.07115, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.07116, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004318/0.07159, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.07173, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.605e-05/0.07181, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.07191, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 8.34e-05/0.072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.349e-05/0.07203, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0001249/0.07215, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 3.527e-06/0.07216, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.002114/0.07427, allocations: 0 / 0, free: 0 / 0 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.005148/0.07942, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0003158/0.07974, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.07974, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.07988, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008943/0.08077, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005336/0.08611, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.08622, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0002065/0.08642, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.08659, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0004038/0.087, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.0007198/0.08772, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.00228/0.09, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.05462/0.1446, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 4.739e-06/0.1446, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 8.706e-06/0.1446, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (0.1 MB unzipped): time 0.0001505/0.1448, allocations: 0 / 0, free: 0 / 0 Notification: Building FMU for platform 'wasm' (1/1). Notification: Finished FMU for platform 'wasm' (1/1). " [Timeout remaining time 660] simulate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=5002,outputFormat="mat",variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T",simflags=" -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=1 -tolerance=1e-06 -stepSize=0.00019992 -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat",resimulateExecutable="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu") [Timeout 240] "" [Timeout remaining time 238] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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 simulate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=5002,outputFormat="mat",variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T",simflags=" -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=1 -tolerance=1e-06 -stepSize=0.00019992 -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_me_res.mat -s fmi3:me:daskr",resimulateExecutable="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu") [Timeout 240] "" [Timeout remaining time 236] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_me_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_me.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches simulate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=5002,outputFormat="mat",variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T",simflags=" -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=1 -tolerance=1e-06 -stepSize=0.00019992 -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_cs_res.mat -s fmi3:cs",resimulateExecutable="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu") [Timeout 240] "" [Timeout remaining time 234] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_cs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_cs.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: 12.495953103061765]