Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 119.9 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001866/0.001866, allocations: 191.7 kB / 20.07 MB, free: 2.992 MB / 14.72 MB " [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 1.438/1.438, allocations: 207.6 MB / 230.5 MB, free: 4.027 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3212/0.3212, allocations: 44.24 MB / 326.5 MB, free: 6.773 MB / 254.1 MB " [Timeout remaining time 180] 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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestScalarFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestScalarFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestScalarFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestScalarFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 75.88 kB / 462.2 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2738, allocations: 60.98 MB / 0.5109 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.001495/0.2753, allocations: 0.5121 MB / 0.5114 GB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.2769, allocations: 1.439 MB / 0.5128 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.614e-05/0.2769, allocations: 0 / 0.5128 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.261e-05/0.2769, allocations: 0 / 0.5128 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.921e-06/0.2769, allocations: 1.188 kB / 0.5128 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004537/0.2774, allocations: 99.16 kB / 0.5129 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.677e-05/0.2774, allocations: 7.844 kB / 0.5129 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.846e-05/0.2775, allocations: 0 / 0.5129 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.372e-05/0.2775, allocations: 3.984 kB / 0.5129 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.046e-05/0.2775, allocations: 3.625 kB / 0.5129 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.512e-06/0.2775, allocations: 4 kB / 0.5129 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002471/0.2778, allocations: 61.73 kB / 0.513 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.941e-06/0.2778, allocations: 0 / 0.513 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.689e-05/0.2778, allocations: 7.938 kB / 0.513 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.631e-05/0.2779, allocations: 28.02 kB / 0.513 GB, free: 11.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2779, allocations: 0 / 0.513 GB, free: 11.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2779, allocations: 4 kB / 0.513 GB, free: 11.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.2779, allocations: 0 / 0.513 GB, free: 11.53 MB / 382.1 MB 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.0002433/0.2781, allocations: 347.3 kB / 0.5133 GB, free: 11.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.2782, allocations: 13.83 kB / 0.5133 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.01e-05/0.2782, allocations: 34.69 kB / 0.5134 GB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.037e-05/0.2782, allocations: 0.9375 kB / 0.5134 GB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.324e-05/0.2783, allocations: 160.4 kB / 0.5135 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.285e-06/0.2783, allocations: 2.656 kB / 0.5135 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.2783, allocations: 384 / 0.5135 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.396e-05/0.2783, allocations: 37.8 kB / 0.5136 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.2784, allocations: 0 / 0.5136 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-06/0.2784, allocations: 0 / 0.5136 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.2784, allocations: 0 / 0.5136 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.511e-05/0.2784, allocations: 3.984 kB / 0.5136 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.249e-05/0.2785, allocations: 149.4 kB / 0.5137 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.076e-05/0.2785, allocations: 18.52 kB / 0.5137 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.111e-05/0.2785, allocations: 6.484 kB / 0.5137 GB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-06/0.2785, allocations: 4 kB / 0.5137 GB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.2785, allocations: 61.33 kB / 0.5138 GB, free: 10.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.624e-06/0.2785, allocations: 3.984 kB / 0.5138 GB, free: 10.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001421/0.2787, allocations: 66.42 kB / 0.5139 GB, free: 10.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.2787, allocations: 82.05 kB / 0.5139 GB, free: 10.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.63e-05/0.2787, allocations: 90.89 kB / 0.514 GB, free: 10.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.139e-06/0.2787, allocations: 29.64 kB / 0.5141 GB, free: 10.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.031e-05/0.2787, allocations: 88.2 kB / 0.5141 GB, free: 10.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.2788, allocations: 1 kB / 0.5141 GB, free: 10.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.189e-05/0.2788, allocations: 11.75 kB / 0.5142 GB, free: 10.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.777e-05/0.2788, allocations: 315.9 kB / 0.5145 GB, free: 9.828 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.956e-06/0.2788, allocations: 1.094 kB / 0.5145 GB, free: 9.828 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.252e-06/0.2788, allocations: 5.062 kB / 0.5145 GB, free: 9.824 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.732e-05/0.2789, allocations: 59.39 kB / 0.5145 GB, free: 9.754 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2789, allocations: 0 / 0.5145 GB, free: 9.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.103e-05/0.2789, allocations: 62.88 kB / 0.5146 GB, free: 9.688 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.2789, allocations: 38.94 kB / 0.5146 GB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.2789, allocations: 3.938 kB / 0.5146 GB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.279, allocations: 0.875 kB / 0.5146 GB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.279, allocations: 0 / 0.5146 GB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.279, allocations: 0.875 kB / 0.5146 GB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.028e-05/0.279, allocations: 1.062 kB / 0.5146 GB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.279, allocations: 1.062 kB / 0.5146 GB, free: 9.645 MB / 382.1 MB 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 5.06e-05/0.279, allocations: 137.8 kB / 0.5148 GB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.866e-06/0.279, allocations: 8.844 kB / 0.5148 GB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.947e-06/0.2791, allocations: 3.125 kB / 0.5148 GB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2791, allocations: 3.984 kB / 0.5148 GB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2791, allocations: 1.031 kB / 0.5148 GB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2791, allocations: 0 / 0.5148 GB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.71e-05/0.2791, allocations: 143.7 kB / 0.5149 GB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2791, allocations: 4 kB / 0.5149 GB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.82e-07/0.2791, allocations: 1.125 kB / 0.5149 GB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.2791, allocations: 3.938 kB / 0.5149 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.2791, allocations: 1 kB / 0.5149 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.2791, allocations: 4 kB / 0.5149 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2791, allocations: 0.9062 kB / 0.5149 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.803e-05/0.2792, allocations: 93.33 kB / 0.515 GB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.376e-05/0.2792, allocations: 82.27 kB / 0.5151 GB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.2792, allocations: 5.078 kB / 0.5151 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.606e-06/0.2792, allocations: 0 / 0.5151 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.123e-05/0.2792, allocations: 1.188 kB / 0.5151 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.2792, allocations: 5.094 kB / 0.5151 GB, free: 9.066 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.157e-05/0.2793, allocations: 79.22 kB / 0.5152 GB, free: 8.988 MB / 382.1 MB Notification: Performance of sort global known variables: time 4e-08/0.2793, allocations: 0 / 0.5152 GB, free: 8.988 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002164/0.2795, allocations: 10.19 kB / 0.5152 GB, free: 8.988 MB / 382.1 MB 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.0003749/0.2798, allocations: 0.672 MB / 0.5158 GB, free: 8.328 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.418e-05/0.2799, allocations: 68.83 kB / 0.5159 GB, free: 8.254 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2799, allocations: 0 / 0.5159 GB, free: 8.254 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.803e-05/0.2799, allocations: 57.8 kB / 0.516 GB, free: 8.188 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/0.2801, allocations: 4.469 kB / 0.516 GB, free: 8.188 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002449/0.2803, allocations: 110.1 kB / 0.5161 GB, free: 8.051 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.145e-05/0.2804, allocations: 0.6742 MB / 0.5167 GB, free: 7.352 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.35e-06/0.2804, allocations: 4.125 kB / 0.5167 GB, free: 7.348 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.927e-06/0.2804, allocations: 8.5 kB / 0.5167 GB, free: 7.34 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2804, allocations: 0 / 0.5167 GB, free: 7.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02159/0.302, allocations: 1.316 MB / 0.518 GB, free: 6.484 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.941/8.243, allocations: 11.75 kB / 0.518 GB, free: 6.477 MB / 382.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestScalarFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestScalarFunctions.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestScalarFunctions/TestScalarFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.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: 10.85770264826715]