Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Utilities.TestReadFile.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.0004512/0.0004512, 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.0004654/0.0004654, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.3363/0.3363, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.05576/0.05576, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Utilities.TestReadFile,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Utilities_TestReadFile",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestReadFile,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Utilities_TestReadFile",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.926e-06/2.926e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.761e-05/2.054e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001237/0.001258, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.002414/0.003672, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 1.752e-05/0.003689, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 1.45e-05/0.003704, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.003838, allocations: 0 / 0, free: 0 / 0 [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Utilities.mo:322:3-362:15:writable] Warning: Pure function 'ModelicaTest.Utilities.ReadFile' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.00492, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 4.835e-05/0.004968, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 1.852e-05/0.004986, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 2.844e-05/0.005015, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 4.711e-05/0.005062, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.005073, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.000225/0.005298, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 1.272e-05/0.005311, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 1.448e-05/0.005326, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.005555, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.005564, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 4.177e-06/0.005568, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 7.484e-06/0.005576, 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005908/0.006167, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 6.876e-05/0.006235, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.855e-05/0.006304, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 7.247e-05/0.006376, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.006592, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.006619, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.006645, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.006817, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.006827, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.006848, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.875e-06/0.006851, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 3.717e-05/0.006888, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002582/0.007147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 7.722e-05/0.007224, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 4.945e-05/0.007273, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.007282, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.082e-05/0.007343, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=1): time 3.9e-05/0.007382, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=1): time 0.0004233/0.007805, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 7.836e-05/0.007884, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.06e-05/0.007974, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.007994, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.008042, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.008059, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 9.377e-05/0.008153, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0003173/0.008471, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 3.159e-05/0.008502, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 3.456e-05/0.008537, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 8.575e-05/0.008622, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.008624, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002717/0.008896, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 5.166e-05/0.008948, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.008952, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.008968, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.658e-06/0.008972, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.008977, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.058e-05/0.009017, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.009037, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001596/0.009197, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 3.432e-05/0.009231, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.021e-05/0.009252, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.009255, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.009263, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.009269, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.009492, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.009494, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.944e-06/0.009496, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.0095, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.009518, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.00952, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.009524, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.009741, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 2.441e-05/0.009765, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.049e-05/0.009826, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.849e-05/0.009854, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/0.009881, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.009892, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 5.947e-05/0.009951, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.274e-06/0.009953, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0008868/0.01084, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001355/0.01219, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.000219/0.01241, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.01242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 8.916e-05/0.01251, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007177/0.01323, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007754/0.014, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 7.08e-05/0.01407, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 1.343e-05/0.01409, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.01412, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0003712/0.01449, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.0002844/0.01478, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.001424/0.0162, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.03551/0.05171, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 7.565e-06/0.05172, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 1.125e-05/0.05173, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (0 MB unzipped): time 0.0007974/0.05253, 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(ModelicaTest.Utilities.TestReadFile,startTime=0,stopTime=0,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestReadFile",simflags=" -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=0 -tolerance=1e-06 -stepSize=0 -r=ModelicaTest_4.1.0_ModelicaTest.Utilities.TestReadFile_res.mat",resimulateExecutable="ModelicaTest_4_1_0_ModelicaTest_Utilities_TestReadFile.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Utilities.TestReadFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestReadFile/TestReadFile.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestReadFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches simulate(ModelicaTest.Utilities.TestReadFile,startTime=0,stopTime=0,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestReadFile",simflags=" -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=0 -tolerance=1e-06 -stepSize=0 -r=ModelicaTest_4.1.0_ModelicaTest.Utilities.TestReadFile_me_res.mat -s fmi3:me:daskr",resimulateExecutable="ModelicaTest_4_1_0_ModelicaTest_Utilities_TestReadFile.fmu") [Timeout 240] "" [Timeout remaining time 240] simulate(ModelicaTest.Utilities.TestReadFile,startTime=0,stopTime=0,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestReadFile",simflags=" -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=0 -tolerance=1e-06 -stepSize=0 -r=ModelicaTest_4.1.0_ModelicaTest.Utilities.TestReadFile_cs_res.mat -s fmi3:cs",resimulateExecutable="ModelicaTest_4_1_0_ModelicaTest_Utilities_TestReadFile.fmu") [Timeout 240] "" [Timeout remaining time 240] [Calling sys.exit(0), Time elapsed: 1.3726888309465721]