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.001283/0.001283, allocations: 79.69 kB / 20.02 MB, free: 4.504 MB / 18.57 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.001332/0.001332, allocations: 170.3 kB / 23.32 MB, free: 1.203 MB / 18.57 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 0.945/0.945, allocations: 158.6 MB / 185.1 MB, free: 2.988 MB / 170.7 MB " [Timeout remaining time 179] 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.1313/0.1313, allocations: 32.36 MB / 269.7 MB, free: 14.91 MB / 266.7 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="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: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 407 MB, free: 2.145 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.698e-05, allocations: 5.938 kB / 407 MB, free: 2.141 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.00122/0.001247, allocations: 0.5026 MB / 407.5 MB, free: 1.641 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.002606, allocations: 1.391 MB / 408.9 MB, free: 236 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.764e-05/0.002624, allocations: 0 / 408.9 MB, free: 236 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.145e-05/0.002635, allocations: 0 / 408.9 MB, free: 236 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.591e-06/0.002641, allocations: 3.938 kB / 408.9 MB, free: 232 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/0.003022, allocations: 103.5 kB / 409 MB, free: 128 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.377e-05/0.003066, allocations: 0 / 409 MB, free: 128 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.549e-05/0.003102, allocations: 4 kB / 409 MB, free: 124 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.526e-05/0.003127, allocations: 4 kB / 409 MB, free: 120 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.313e-05/0.00315, allocations: 0 / 409 MB, free: 120 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.827e-06/0.003159, allocations: 0 / 409 MB, free: 120 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002286/0.003387, allocations: 71.86 kB / 409.1 MB, free: 48 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.852e-06/0.003394, allocations: 0 / 409.1 MB, free: 48 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.473e-05/0.003409, allocations: 0 / 409.1 MB, free: 48 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 8.767e-05/0.003497, allocations: 31.91 kB / 409.1 MB, free: 16 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.003498, allocations: 4 kB / 409.1 MB, free: 12 kB / 378.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.003499, allocations: 0 / 409.1 MB, free: 12 kB / 378.7 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.003502, allocations: 0 / 409.1 MB, free: 12 kB / 378.7 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.0002679/0.00377, allocations: 276.1 kB / 409.4 MB, free: 15.71 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.003808, allocations: 8.031 kB / 409.4 MB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.112e-05/0.003829, allocations: 30.75 kB / 409.5 MB, free: 15.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.007e-05/0.003849, allocations: 0.9375 kB / 409.5 MB, free: 15.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.445e-05/0.003904, allocations: 109.7 kB / 409.6 MB, free: 15.53 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.003914, allocations: 384 / 409.6 MB, free: 15.53 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.003923, allocations: 384 / 409.6 MB, free: 15.53 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.014e-05/0.004003, allocations: 67.95 kB / 409.6 MB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.004009, allocations: 192 / 409.6 MB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.004017, allocations: 4.125 kB / 409.6 MB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.004023, allocations: 3.984 kB / 409.6 MB, free: 15.44 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.242e-05/0.004045, allocations: 29.7 kB / 409.7 MB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.802e-05/0.004133, allocations: 116.8 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.485e-05/0.004178, allocations: 48.25 kB / 409.8 MB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.048e-05/0.004198, allocations: 34.55 kB / 409.9 MB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.843e-06/0.004205, allocations: 0 / 409.9 MB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.004241, allocations: 68.27 kB / 409.9 MB, free: 15.06 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.004242, allocations: 0 / 409.9 MB, free: 15.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001589/0.0044, allocations: 122.7 kB / 410 MB, free: 14.92 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.004435, allocations: 77.11 kB / 410.1 MB, free: 14.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.546e-05/0.004461, allocations: 89.86 kB / 410.2 MB, free: 14.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.165e-06/0.004469, allocations: 25.7 kB / 410.2 MB, free: 14.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.189e-05/0.004491, allocations: 84.08 kB / 410.3 MB, free: 14.61 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.004509, allocations: 7.938 kB / 410.3 MB, free: 14.6 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.807e-05/0.004527, allocations: 13.72 kB / 410.3 MB, free: 14.58 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.439e-05/0.004602, allocations: 310.8 kB / 410.6 MB, free: 14.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.511e-05/0.004617, allocations: 29.7 kB / 410.7 MB, free: 14.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.271e-05/0.00463, allocations: 29.83 kB / 410.7 MB, free: 14.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.867e-05/0.004668, allocations: 68.25 kB / 410.8 MB, free: 14.12 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.00467, allocations: 0 / 410.8 MB, free: 14.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.989e-05/0.00472, allocations: 85.11 kB / 410.9 MB, free: 14.02 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001365/0.004856, allocations: 33.69 kB / 410.9 MB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.004861, allocations: 0 / 410.9 MB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.004874, allocations: 3.938 kB / 410.9 MB, free: 13.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.166e-06/0.004877, allocations: 8 kB / 410.9 MB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.004882, allocations: 3.938 kB / 410.9 MB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.978e-06/0.004892, allocations: 0 / 410.9 MB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.004898, allocations: 4.094 kB / 410.9 MB, free: 13.96 MB / 394.7 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 6.355e-05/0.004962, allocations: 139.5 kB / 411 MB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.08e-06/0.004967, allocations: 4 kB / 411 MB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.042e-05/0.004977, allocations: 3 kB / 411 MB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.004979, allocations: 3.938 kB / 411.1 MB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.004983, allocations: 0 / 411.1 MB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.004986, allocations: 0 / 411.1 MB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.543e-05/0.005041, allocations: 120.8 kB / 411.2 MB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.01e-07/0.005042, allocations: 0 / 411.2 MB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.51e-07/0.005042, allocations: 0 / 411.2 MB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.005043, allocations: 4 kB / 411.2 MB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.005049, allocations: 0 / 411.2 MB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.00505, allocations: 3.938 kB / 411.2 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.01e-07/0.005051, allocations: 4 kB / 411.2 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.552e-05/0.005116, allocations: 116.5 kB / 411.3 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.437e-06/0.00512, allocations: 3.938 kB / 411.3 MB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.316e-06/0.005128, allocations: 0 / 411.3 MB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.059e-06/0.005133, allocations: 7.875 kB / 411.3 MB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.566e-05/0.005149, allocations: 4 kB / 411.3 MB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-06/0.005151, allocations: 3.984 kB / 411.3 MB, free: 13.46 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.756e-05/0.005168, allocations: 79.31 kB / 411.4 MB, free: 13.38 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005168, allocations: 0 / 411.4 MB, free: 13.38 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001276/0.005296, allocations: 8 kB / 411.4 MB, free: 13.37 MB / 394.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: 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.0003405/0.005636, allocations: 0.682 MB / 412.1 MB, free: 12.65 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.187e-05/0.005718, allocations: 114.7 kB / 412.2 MB, free: 12.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.00572, allocations: 0 / 412.2 MB, free: 12.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.418e-05/0.005744, allocations: 81.11 kB / 412.3 MB, free: 12.42 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.063e-05/0.005834, allocations: 16.09 kB / 412.3 MB, free: 12.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002114/0.006046, allocations: 140.2 kB / 412.4 MB, free: 12.22 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.871e-05/0.006074, allocations: 51.36 kB / 412.5 MB, free: 12.15 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.48e-06/0.00608, allocations: 8 kB / 412.5 MB, free: 12.14 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.35e-05/0.006093, allocations: 8.5 kB / 412.5 MB, free: 12.13 MB / 394.7 MB Notification: Performance of SimCode: time 4.3e-07/0.006094, allocations: 0 / 412.5 MB, free: 12.13 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01526/0.02135, allocations: 1.976 MB / 414.5 MB, free: 10.14 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.554/6.575, allocations: 15.48 kB / 414.5 MB, free: 10.12 MB / 394.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 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.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestScalarFunctions/TestScalarFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_res.csv: Error: Error opening file: ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,result Variables in the result: [Calling sys.exit(0), Time elapsed: 8.742199967615306]