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.0008694/0.0008694, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.001202/0.001202, allocations: 169.9 kB / 23.21 MB, free: 1.352 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.8957/0.8957, allocations: 158.6 MB / 185 MB, free: 3.023 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.1278/0.1278, allocations: 32.37 MB / 269.6 MB, free: 14.97 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 1.703e-06/1.703e-06, allocations: 0 / 406.8 MB, free: 2.273 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/2.015e-05, allocations: 10.02 kB / 406.8 MB, free: 2.266 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.001561/0.001581, allocations: 0.5026 MB / 407.3 MB, free: 1.766 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.003478, allocations: 1.387 MB / 408.7 MB, free: 368 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.279e-05/0.003501, allocations: 0 / 408.7 MB, free: 368 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.514e-05/0.003516, allocations: 0 / 408.7 MB, free: 368 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.331e-06/0.003523, allocations: 0 / 408.7 MB, free: 368 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005109/0.004034, allocations: 111.5 kB / 408.8 MB, free: 256 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.609e-05/0.00409, allocations: 0 / 408.8 MB, free: 256 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.38e-05/0.004133, allocations: 3.984 kB / 408.8 MB, free: 252 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.944e-05/0.004163, allocations: 0 / 408.8 MB, free: 252 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.128e-05/0.004194, allocations: 7.984 kB / 408.8 MB, free: 244 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.628e-06/0.004204, allocations: 0 / 408.8 MB, free: 244 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003052/0.004509, allocations: 59.95 kB / 408.9 MB, free: 184 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.088e-05/0.00452, allocations: 3.984 kB / 408.9 MB, free: 180 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.093e-05/0.004541, allocations: 7.938 kB / 408.9 MB, free: 172 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.004661, allocations: 35.83 kB / 408.9 MB, free: 136 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004664, allocations: 0 / 408.9 MB, free: 136 kB / 378.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.004664, allocations: 0 / 408.9 MB, free: 136 kB / 378.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.004669, allocations: 0 / 408.9 MB, free: 136 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.0003149/0.004983, allocations: 280.1 kB / 409.2 MB, free: 15.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.005028, allocations: 12.03 kB / 409.2 MB, free: 15.81 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.227e-05/0.00507, allocations: 30.75 kB / 409.2 MB, free: 15.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.717e-05/0.005097, allocations: 0.9375 kB / 409.3 MB, free: 15.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.787e-05/0.005165, allocations: 101.8 kB / 409.3 MB, free: 15.65 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.005179, allocations: 8.297 kB / 409.4 MB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.005188, allocations: 4.375 kB / 409.4 MB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.005289, allocations: 55.97 kB / 409.4 MB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.005297, allocations: 192 / 409.4 MB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.005306, allocations: 4.125 kB / 409.4 MB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.005311, allocations: 8 kB / 409.4 MB, free: 15.56 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.634e-05/0.005337, allocations: 29.69 kB / 409.5 MB, free: 15.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001195/0.005456, allocations: 124.7 kB / 409.6 MB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.157e-05/0.005538, allocations: 40.28 kB / 409.6 MB, free: 15.3 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.005562, allocations: 34.62 kB / 409.7 MB, free: 15.26 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.005572, allocations: 4 kB / 409.7 MB, free: 15.26 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/0.005614, allocations: 60.25 kB / 409.7 MB, free: 15.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.005615, allocations: 0 / 409.7 MB, free: 15.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.000194/0.005809, allocations: 118.7 kB / 409.8 MB, free: 15.04 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.005855, allocations: 77.11 kB / 409.9 MB, free: 14.95 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.707e-05/0.005892, allocations: 102 kB / 410 MB, free: 14.84 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.005904, allocations: 25.7 kB / 410 MB, free: 14.81 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.851e-05/0.005932, allocations: 84.12 kB / 410.1 MB, free: 14.72 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.005951, allocations: 3.938 kB / 410.1 MB, free: 14.72 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.198e-05/0.005983, allocations: 13.72 kB / 410.1 MB, free: 14.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.53e-05/0.006078, allocations: 310.8 kB / 410.4 MB, free: 14.39 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.16e-05/0.006099, allocations: 29.64 kB / 410.5 MB, free: 14.35 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.939e-05/0.006159, allocations: 29.7 kB / 410.5 MB, free: 14.32 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.792e-05/0.006207, allocations: 60.27 kB / 410.6 MB, free: 14.24 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.006209, allocations: 0 / 410.6 MB, free: 14.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.001e-05/0.006289, allocations: 97.09 kB / 410.6 MB, free: 14.13 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.173e-05/0.006321, allocations: 33.7 kB / 410.7 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.006325, allocations: 0 / 410.7 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.006342, allocations: 7.938 kB / 410.7 MB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.006343, allocations: 0 / 410.7 MB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.006348, allocations: 0 / 410.7 MB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.091e-05/0.006368, allocations: 0 / 410.7 MB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.006377, allocations: 4 kB / 410.7 MB, free: 14.08 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 7.012e-05/0.006447, allocations: 139.5 kB / 410.8 MB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.735e-06/0.006454, allocations: 4.031 kB / 410.8 MB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.095e-05/0.006465, allocations: 7 kB / 410.8 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.006468, allocations: 3.938 kB / 410.8 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.006472, allocations: 0 / 410.8 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.006474, allocations: 0 / 410.8 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.431e-05/0.006548, allocations: 116.8 kB / 411 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.006549, allocations: 0 / 411 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.00655, allocations: 4 kB / 411 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.006551, allocations: 3.938 kB / 411 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.006558, allocations: 0 / 411 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.00656, allocations: 3.938 kB / 411 MB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.006561, allocations: 4 kB / 411 MB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.851e-05/0.006659, allocations: 120.5 kB / 411.1 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-06/0.006663, allocations: 0 / 411.1 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.006676, allocations: 4 kB / 411.1 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.819e-06/0.006686, allocations: 3.938 kB / 411.1 MB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.121e-05/0.006697, allocations: 0 / 411.1 MB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.006699, allocations: 0 / 411.1 MB, free: 13.58 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.218e-05/0.006721, allocations: 75.28 kB / 411.2 MB, free: 13.51 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.006721, allocations: 0 / 411.2 MB, free: 13.51 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002247/0.006946, allocations: 12 kB / 411.2 MB, free: 13.5 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.0004676/0.007414, allocations: 0.6935 MB / 411.9 MB, free: 12.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.721e-05/0.007511, allocations: 114.8 kB / 412 MB, free: 12.63 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.007513, allocations: 0 / 412 MB, free: 12.63 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.69e-05/0.00755, allocations: 89.09 kB / 412.1 MB, free: 12.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.007683, allocations: 3.938 kB / 412.1 MB, free: 12.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003737/0.008057, allocations: 136.2 kB / 412.2 MB, free: 12.34 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.306e-05/0.0081, allocations: 59.5 kB / 412.3 MB, free: 12.26 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.203e-06/0.008107, allocations: 8 kB / 412.3 MB, free: 12.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.727e-05/0.008125, allocations: 8.5 kB / 412.3 MB, free: 12.25 MB / 394.7 MB Notification: Performance of SimCode: time 4.31e-07/0.008125, allocations: 0 / 412.3 MB, free: 12.25 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01413/0.02225, allocations: 1.992 MB / 414.3 MB, free: 10.23 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.744/6.766, allocations: 7.062 kB / 414.3 MB, free: 10.23 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.776144789531827]