Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32: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/Complex 3.2.3+maint.om/package.mo): time 0.001112/0.001113, allocations: 191.8 kB / 7.801 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.2 MB / 213.4 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009687/0.0009683, allocations: 90.95 kB / 261.4 MB, free: 13.52 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2136/0.2136, allocations: 43.48 MB / 352.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2473/0.4609, allocations: 64.99 MB / 417.8 MB, free: 40.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.821, allocations: 58.84 MB / 476.7 MB, free: 5.172 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1598/0.9808, allocations: 97.23 MB / 0.5605 GB, free: 1.637 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003518/0.9812, allocations: 95.92 kB / 0.5605 GB, free: 1.543 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:4809:11-4812:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:4822:11-4825:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0508/1.032, allocations: 15.35 MB / 0.5755 GB, free: 2.039 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/1.032, allocations: 8 kB / 0.5755 GB, free: 2.031 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.77e-05/1.032, allocations: 27.62 kB / 0.5756 GB, free: 2.004 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/1.033, allocations: 246.5 kB / 0.5758 GB, free: 1.723 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/1.033, allocations: 8 kB / 0.5758 GB, free: 1.715 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.074e-05/1.033, allocations: 12 kB / 0.5758 GB, free: 1.703 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004748/1.033, allocations: 328.9 kB / 0.5761 GB, free: 1.383 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004714/1.034, allocations: 323.9 kB / 0.5764 GB, free: 1.059 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/1.034, allocations: 0 / 0.5764 GB, free: 1.059 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/1.034, allocations: 0 / 0.5764 GB, free: 1.059 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.005e-05/1.034, allocations: 32.62 kB / 0.5765 GB, free: 1.027 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/1.035, allocations: 0.9723 MB / 0.5774 GB, free: 15.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005237/1.036, allocations: 254.7 kB / 0.5777 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/1.036, allocations: 77.19 kB / 0.5777 GB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5e-05/1.036, allocations: 12.25 kB / 0.5778 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/1.036, allocations: 38.75 kB / 0.5778 GB, free: 15.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 1.583e-06/1.036, allocations: 0 / 0.5778 GB, free: 15.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005015/1.036, allocations: 208.2 kB / 0.578 GB, free: 15.37 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/1.037, allocations: 55.41 kB / 0.578 GB, free: 15.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/1.037, allocations: 121 kB / 0.5782 GB, free: 15.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/1.037, allocations: 25.7 kB / 0.5782 GB, free: 15.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.389e-05/1.037, allocations: 160 kB / 0.5783 GB, free: 14.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.952e-05/1.037, allocations: 67.02 kB / 0.5784 GB, free: 14.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.181e-05/1.037, allocations: 3.938 kB / 0.5784 GB, free: 14.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/1.037, allocations: 322.8 kB / 0.5787 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/1.037, allocations: 67.95 kB / 0.5788 GB, free: 14.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/1.037, allocations: 94.25 kB / 0.5789 GB, free: 14.42 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/1.037, allocations: 85.23 kB / 0.5789 GB, free: 14.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/1.037, allocations: 0 / 0.5789 GB, free: 14.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003686/1.038, allocations: 225.4 kB / 0.5792 GB, free: 14.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/1.038, allocations: 4 kB / 0.5792 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/1.038, allocations: 0 / 0.5792 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/1.038, allocations: 4 kB / 0.5792 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004701/1.038, allocations: 91.86 kB / 0.5793 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001438/1.04, allocations: 2.407 MB / 0.5816 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/1.04, allocations: 23.86 kB / 0.5816 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.233e-05/1.04, allocations: 8 kB / 0.5816 GB, free: 11.48 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000115/1.04, allocations: 121.8 kB / 0.5818 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.044e-05/1.04, allocations: 15.8 kB / 0.5818 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007367/1.041, allocations: 340.8 kB / 0.5821 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/1.041, allocations: 8 kB / 0.5821 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/1.041, allocations: 3.906 kB / 0.5821 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.041, allocations: 0 / 0.5821 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003511/1.041, allocations: 265.9 kB / 0.5824 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.041, allocations: 0 / 0.5824 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004582/1.042, allocations: 95.86 kB / 0.5824 GB, free: 10.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/1.042, allocations: 4 kB / 0.5825 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/1.042, allocations: 0 / 0.5825 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/1.043, allocations: 2.406 MB / 0.5848 GB, free: 8.094 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/1.043, allocations: 0 / 0.5848 GB, free: 8.094 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004063/1.044, allocations: 327.7 kB / 0.5851 GB, free: 7.758 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005927/1.044, allocations: 0.6999 MB / 0.5858 GB, free: 7.039 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001733/1.044, allocations: 128.8 kB / 0.5859 GB, free: 6.895 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.692e-05/1.044, allocations: 0 / 0.5859 GB, free: 6.895 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/1.045, allocations: 11.98 kB / 0.5859 GB, free: 6.883 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.98e-05/1.045, allocations: 27.91 kB / 0.586 GB, free: 6.855 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/1.045, allocations: 4 kB / 0.586 GB, free: 6.852 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.95e-05/1.045, allocations: 102.6 kB / 0.5861 GB, free: 6.754 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001437/1.046, allocations: 191.4 kB / 0.5862 GB, free: 6.566 MB / 426.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007759/1.047, allocations: 258.9 kB / 0.5865 GB, free: 6.305 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007881/1.048, allocations: 231.8 kB / 0.5867 GB, free: 6.078 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/1.048, allocations: 0 / 0.5867 GB, free: 6.078 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004758/1.048, allocations: 163.8 kB / 0.5869 GB, free: 5.918 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/1.049, allocations: 4 kB / 0.5869 GB, free: 5.914 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000877/1.049, allocations: 352.5 kB / 0.5872 GB, free: 5.543 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005403/1.05, allocations: 0.8213 MB / 0.588 GB, free: 4.695 MB / 426.7 MB Notification: Performance of SimCode: time 4.31e-07/1.05, allocations: 4 kB / 0.588 GB, free: 4.691 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat