Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.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.000437/0.000437, 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.0003738/0.0003738, 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.3331/0.3331, 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.0568/0.0568, 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.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.839e-06/4.839e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.947e-05/2.431e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.003878/0.003902, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.003741/0.007643, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 8.815e-05/0.007732, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.000338/0.00807, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0003825/0.008452, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001562/0.01001, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0001856/0.0102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 3.801e-05/0.01024, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0001494/0.01039, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 9.036e-05/0.01048, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.0105, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.001904/0.01241, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 3.335e-05/0.01244, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 7.059e-05/0.01251, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.00126/0.01377, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 2.348e-05/0.01379, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 7.254e-06/0.0138, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 8.757e-06/0.01381, 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001402/0.01521, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001033/0.01532, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.489e-05/0.01541, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.01553, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.01582, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.253e-05/0.01585, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 4.326e-05/0.0159, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/0.01619, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.01621, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.01623, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.01624, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00026/0.0165, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004622/0.01696, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.01716, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.01731, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.01742, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.642e-05/0.01746, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=8): time 4.931e-05/0.01751, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=12): time 0.03275/0.05026, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 7.453e-05/0.05034, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.0506, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001406/0.05074, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0003857/0.05113, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.000169/0.0513, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004737/0.05177, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0002279/0.052, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.001457/0.05346, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/0.0549, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.002963/0.05786, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.05787, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=22) (initialization): time 0.003636/0.06151, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 4.862e-05/0.06155, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.06157, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 3.87e-05/0.06161, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008848/0.06249, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.0625, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006192/0.06312, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.06324, 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: 3 (data.zetaLaminarKnown,data.zeta2_at_a,data.zeta1_at_a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0004214/0.06366, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002308/0.06389, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003137/0.06702, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.06703, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/0.06705, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.06706, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00579/0.07285, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.07286, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008458/0.0737, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.2e-05/0.07372, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/0.07384, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.826e-06/0.07385, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/0.07385, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00288/0.07673, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0004001/0.07713, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001713/0.07731, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006953/0.078, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 7.654e-05/0.07808, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.804e-05/0.07818, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0001638/0.07834, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 4.589e-06/0.07834, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001949/0.08029, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 12 * 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.006691/0.08698, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.002739/0.08972, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.155e-05/0.08973, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.001195/0.09093, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/0.09272, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01656/0.1093, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.1095, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0003187/0.1098, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/0.1109, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0005795/0.1115, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.001242/0.1127, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.006334/0.1191, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.03616/0.1552, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 9.588e-06/0.1552, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 1.364e-05/0.1553, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (0.1 MB unzipped): time 0.0002265/0.1555, 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.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,startTime=0,stopTime=3,tolerance=1e-06,numberOfIntervals=5002,outputFormat="mat",variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives",simflags=" -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=3 -tolerance=1e-06 -stepSize=0.00059976 -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat",resimulateExecutable="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches simulate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,startTime=0,stopTime=3,tolerance=1e-06,numberOfIntervals=5002,outputFormat="mat",variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives",simflags=" -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=3 -tolerance=1e-06 -stepSize=0.00059976 -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_me_res.mat -s fmi3:me:daskr",resimulateExecutable="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_me_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_me.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches simulate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,startTime=0,stopTime=3,tolerance=1e-06,numberOfIntervals=5002,outputFormat="mat",variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives",simflags=" -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=3 -tolerance=1e-06 -stepSize=0.00059976 -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_cs_res.mat -s fmi3:cs",resimulateExecutable="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_cs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_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: 1.5560710489517078]