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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 122.1 kB / 17.83 MB, free: 5.242 MB / 14.72 MB " [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.00203/0.00203, allocations: 204.6 kB / 20.79 MB, free: 2.297 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.415/1.415, allocations: 207.6 MB / 231.2 MB, free: 4.137 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.3391/0.3391, allocations: 44.22 MB / 327.3 MB, free: 6.652 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.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.Math.TestScalarFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestScalarFunctions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestScalarFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestScalarFunctions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002461/0.002461, allocations: 75.89 kB / 462.9 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2904, allocations: 61 MB / 0.5116 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.001559/0.292, allocations: 0.4976 MB / 0.5121 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.2936, allocations: 1.439 MB / 0.5135 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.751e-05/0.2936, allocations: 0 / 0.5135 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.505e-05/0.2936, allocations: 0 / 0.5135 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.36e-06/0.2936, allocations: 1 kB / 0.5135 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004893/0.2941, allocations: 111.8 kB / 0.5136 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.664e-05/0.2942, allocations: 1.531 kB / 0.5136 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.64e-05/0.2942, allocations: 1.562 kB / 0.5136 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.042e-05/0.2942, allocations: 0 / 0.5136 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.256e-05/0.2942, allocations: 1.438 kB / 0.5136 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.105e-06/0.2942, allocations: 0 / 0.5136 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002912/0.2945, allocations: 75.36 kB / 0.5137 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.758e-06/0.2945, allocations: 0 / 0.5137 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.733e-05/0.2946, allocations: 7.938 kB / 0.5137 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.32e-05/0.2947, allocations: 27.45 kB / 0.5137 GB, free: 11.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2947, allocations: 0 / 0.5137 GB, free: 11.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2947, allocations: 0 / 0.5137 GB, free: 11.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.2947, allocations: 1.312 kB / 0.5137 GB, free: 11.63 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.0002715/0.2949, allocations: 347 kB / 0.5141 GB, free: 11.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.295, allocations: 12.83 kB / 0.5141 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.321e-05/0.295, allocations: 1.688 kB / 0.5141 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.342e-05/0.295, allocations: 30.75 kB / 0.5141 GB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.544e-05/0.295, allocations: 0.9375 kB / 0.5141 GB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.087e-05/0.2951, allocations: 161.7 kB / 0.5143 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.172e-06/0.2951, allocations: 384 / 0.5143 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.2951, allocations: 1.812 kB / 0.5143 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.689e-05/0.2952, allocations: 43.08 kB / 0.5143 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.2952, allocations: 0 / 0.5143 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.2952, allocations: 1.375 kB / 0.5143 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2952, allocations: 0 / 0.5143 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.756e-05/0.2952, allocations: 5.172 kB / 0.5143 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.975e-05/0.2953, allocations: 142.8 kB / 0.5144 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.803e-05/0.2954, allocations: 17.05 kB / 0.5145 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.369e-05/0.2954, allocations: 7.703 kB / 0.5145 GB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.2954, allocations: 7.938 kB / 0.5145 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.2954, allocations: 61.83 kB / 0.5145 GB, free: 10.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.442e-06/0.2954, allocations: 3.938 kB / 0.5145 GB, free: 10.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001686/0.2956, allocations: 62.67 kB / 0.5146 GB, free: 10.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.2956, allocations: 82.58 kB / 0.5147 GB, free: 10.49 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.686e-05/0.2956, allocations: 93.8 kB / 0.5148 GB, free: 10.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.011e-06/0.2956, allocations: 25.7 kB / 0.5148 GB, free: 10.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.002e-05/0.2956, allocations: 80.27 kB / 0.5149 GB, free: 10.28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.2957, allocations: 5.5 kB / 0.5149 GB, free: 10.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/0.2957, allocations: 15.44 kB / 0.5149 GB, free: 10.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.545e-05/0.2957, allocations: 316.3 kB / 0.5152 GB, free: 9.938 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.446e-06/0.2957, allocations: 0 / 0.5152 GB, free: 9.938 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.931e-06/0.2957, allocations: 1.531 kB / 0.5152 GB, free: 9.938 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.078e-05/0.2958, allocations: 63.02 kB / 0.5153 GB, free: 9.863 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2958, allocations: 1.469 kB / 0.5153 GB, free: 9.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.347e-05/0.2958, allocations: 69.38 kB / 0.5153 GB, free: 9.789 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.2959, allocations: 35.09 kB / 0.5154 GB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.2959, allocations: 1.375 kB / 0.5154 GB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.2959, allocations: 0 / 0.5154 GB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.2959, allocations: 0 / 0.5154 GB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.2959, allocations: 1.094 kB / 0.5154 GB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.404e-05/0.2959, allocations: 0 / 0.5154 GB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.2959, allocations: 1.5 kB / 0.5154 GB, free: 9.754 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.045e-05/0.296, allocations: 133.2 kB / 0.5155 GB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.967e-06/0.296, allocations: 9.406 kB / 0.5155 GB, free: 9.602 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.375e-06/0.296, allocations: 3.125 kB / 0.5155 GB, free: 9.594 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.296, allocations: 5.109 kB / 0.5155 GB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.296, allocations: 0 / 0.5155 GB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.296, allocations: 3.984 kB / 0.5155 GB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.538e-05/0.296, allocations: 143.9 kB / 0.5156 GB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.296, allocations: 4 kB / 0.5156 GB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.363e-06/0.296, allocations: 3.938 kB / 0.5157 GB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.296, allocations: 5.156 kB / 0.5157 GB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.2961, allocations: 4 kB / 0.5157 GB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2961, allocations: 5.344 kB / 0.5157 GB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2961, allocations: 3.984 kB / 0.5157 GB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.692e-05/0.2961, allocations: 85.19 kB / 0.5157 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.363e-05/0.2961, allocations: 82.14 kB / 0.5158 GB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.2961, allocations: 5.297 kB / 0.5158 GB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.766e-06/0.2962, allocations: 0 / 0.5158 GB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.704e-05/0.2962, allocations: 5.391 kB / 0.5158 GB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.2962, allocations: 9.469 kB / 0.5158 GB, free: 9.164 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.446e-05/0.2962, allocations: 75.28 kB / 0.5159 GB, free: 9.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 4e-08/0.2962, allocations: 0 / 0.5159 GB, free: 9.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002015/0.2964, allocations: 9.281 kB / 0.5159 GB, free: 9.09 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.0003739/0.2968, allocations: 0.6749 MB / 0.5166 GB, free: 8.426 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.822e-05/0.2969, allocations: 59.2 kB / 0.5166 GB, free: 8.359 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2969, allocations: 0 / 0.5166 GB, free: 8.359 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.666e-05/0.2969, allocations: 54.97 kB / 0.5167 GB, free: 8.297 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.297, allocations: 4 kB / 0.5167 GB, free: 8.297 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000244/0.2972, allocations: 120.6 kB / 0.5168 GB, free: 8.152 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.73e-05/0.2973, allocations: 0.6746 MB / 0.5175 GB, free: 7.453 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.159e-06/0.2973, allocations: 4.125 kB / 0.5175 GB, free: 7.449 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.348e-06/0.2973, allocations: 7.438 kB / 0.5175 GB, free: 7.441 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.2973, allocations: 1.812 kB / 0.5175 GB, free: 7.441 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01613/0.3135, allocations: 1.345 MB / 0.5188 GB, free: 6.562 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.116/8.429, allocations: 15.56 kB / 0.5188 GB, free: 6.551 MB / 382.1 MB " [Timeout remaining time 651] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestScalarFunctions/TestScalarFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 11.188709515030496]