Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.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.0004774/0.0004774, 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.0003609/0.0003609, 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.331/0.331, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo): time 0.0154/0.0154, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/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(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ServoValveMeteringTest",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ServoValveMeteringTest",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.02e-07/7.02e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.719e-05/1.789e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest): time 0.007557/0.007575, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.008192/0.01577, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0006152/0.01638, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.001524/0.01791, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.002002/0.01991, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.002753/0.02266, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001324/0.02398, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0003893/0.02437, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.02554, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0008275/0.02637, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.02649, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.02756, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0003249/0.02788, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0005294/0.02841, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.002174/0.03058, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001338/0.03072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 4.628e-06/0.03072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.715e-05/0.03074, 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.003801/0.03454, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001093/0.03465, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002949/0.03494, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000633/0.03558, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.002034/0.03761, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.584e-05/0.03769, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.03783, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.03937, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 3.406e-05/0.03941, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/0.03953, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.03954, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.04081, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006185/0.04699, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.04808, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0003262/0.04841, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 6.809e-05/0.04848, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.04851, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=26): time 7.601e-05/0.04859, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=26): time 0.001857/0.05045, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.05048, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003966/0.05445, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 6.754e-05/0.05452, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.001092/0.05561, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.05577, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003317/0.05611, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0001556/0.05626, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.000372/0.05663, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004694/0.0571, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0008801/0.05798, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/0.05799, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=43) (initialization): time 0.001814/0.0598, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 3.611e-05/0.05984, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.05985, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.05987, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005845/0.06046, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.06047, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006037/0.06108, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.823e-05/0.06116, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 (VR100.data.zetaLaminarKnown,VR10.data.zetaLaminarKnown,VR30.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0006445/0.06181, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005675/0.06238, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001641/0.06402, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.06402, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.06403, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.06404, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002726/0.06677, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.587e-06/0.06678, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004828/0.06726, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/0.06727, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.086e-05/0.06734, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.06735, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.06735, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.06892, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.001201/0.07012, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001529/0.07165, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000706/0.07235, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001985/0.07255, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-05/0.07263, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.00256/0.07519, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 5.156e-05/0.07525, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.002088/0.07733, 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.001757/0.07909, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.00115/0.08024, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.08024, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0005156/0.08076, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003379/0.08414, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01962/0.1038, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006604/0.1044, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0009068/0.1053, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001798/0.1071, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0006576/0.1078, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.005285/0.1131, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.007921/0.121, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.05889/0.1799, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 1.283e-05/0.1799, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 1.718e-05/0.1799, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (0.2 MB unzipped): time 0.001363/0.1813, allocations: 0 / 0, free: 0 / 0 Notification: FMU-only work: backend 0.0006094, simCode 0.01221, templates 0.005271 Notification: Building FMU for platform 'wasm' (1/1). Notification: Finished FMU for platform 'wasm' (1/1). " [Timeout remaining time 660] simulate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest,startTime=0,stopTime=100,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest",simflags=" -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=100 -tolerance=1e-06 -stepSize=0.04 -noemit",resimulateExecutable="OpenHydraulics_OpenHydraulics_DevelopmentTests_ServoValveMeteringTest.fmu") [Timeout 240] "" [Timeout remaining time 240] simulate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest,startTime=0,stopTime=100,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest",simflags=" -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=100 -tolerance=1e-06 -stepSize=0.04 -noemit -s fmi3:me",resimulateExecutable="OpenHydraulics_OpenHydraulics_DevelopmentTests_ServoValveMeteringTest.fmu") [Timeout 240] "" [Timeout remaining time 240] simulate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest,startTime=0,stopTime=100,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest",simflags=" -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=100 -tolerance=1e-06 -stepSize=0.04 -noemit -s fmi3:cs",resimulateExecutable="OpenHydraulics_OpenHydraulics_DevelopmentTests_ServoValveMeteringTest.fmu") [Timeout 240] "" [Timeout remaining time 240] [Calling sys.exit(0), Time elapsed: 1.3408749070949852]