Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.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.001122/0.001122, allocations: 75.7 kB / 20.01 MB, free: 4.508 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.001603/0.001603, allocations: 169.9 kB / 23.31 MB, free: 1.211 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.8748/0.8748, allocations: 158.6 MB / 185.1 MB, free: 3 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.1265/0.1265, allocations: 32.37 MB / 269.7 MB, free: 14.92 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.ComplexMath.TestComplexFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 407 MB, free: 2.176 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.406e-05/3.626e-05, allocations: 6.078 kB / 407 MB, free: 2.172 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.001577/0.001613, allocations: 494.6 kB / 407.5 MB, free: 1.691 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003019/0.004632, allocations: 2.212 MB / 409.7 MB, free: 15.46 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.407e-05/0.004666, allocations: 4 kB / 409.7 MB, free: 15.45 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.96e-05/0.004686, allocations: 0 / 409.7 MB, free: 15.45 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 1.128e-05/0.004697, allocations: 0 / 409.7 MB, free: 15.45 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002527/0.007224, allocations: 1.148 MB / 410.9 MB, free: 14.3 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 7.33e-05/0.007297, allocations: 0 / 410.9 MB, free: 14.3 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.385e-05/0.007361, allocations: 7.938 kB / 410.9 MB, free: 14.29 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.231e-05/0.007413, allocations: 3.984 kB / 410.9 MB, free: 14.29 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.272e-05/0.007456, allocations: 4 kB / 410.9 MB, free: 14.29 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.007469, allocations: 0 / 410.9 MB, free: 14.29 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001617/0.009085, allocations: 0.9402 MB / 411.8 MB, free: 13.34 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.009097, allocations: 0 / 411.8 MB, free: 13.34 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.698e-05/0.009124, allocations: 0 / 411.8 MB, free: 13.34 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006353/0.009759, allocations: 0.5029 MB / 412.3 MB, free: 12.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.009764, allocations: 3.938 kB / 412.3 MB, free: 12.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.009766, allocations: 4 kB / 412.3 MB, free: 12.83 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.009772, allocations: 0 / 412.3 MB, free: 12.83 MB / 394.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.0003978/0.01017, allocations: 363.3 kB / 412.7 MB, free: 12.44 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.01022, allocations: 8.031 kB / 412.7 MB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.289e-05/0.01024, allocations: 30.75 kB / 412.7 MB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.72e-05/0.01027, allocations: 4.938 kB / 412.7 MB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.788e-05/0.01032, allocations: 101.8 kB / 412.8 MB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.01034, allocations: 4.359 kB / 412.8 MB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.01035, allocations: 384 / 412.8 MB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.887e-05/0.01044, allocations: 59.95 kB / 412.9 MB, free: 12.19 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.01045, allocations: 192 / 412.9 MB, free: 12.19 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.01046, allocations: 4.125 kB / 412.9 MB, free: 12.19 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.01047, allocations: 4 kB / 412.9 MB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.246e-05/0.01049, allocations: 29.7 kB / 412.9 MB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.877e-05/0.01059, allocations: 120.7 kB / 413 MB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.022e-05/0.01064, allocations: 44.31 kB / 413.1 MB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.589e-05/0.01067, allocations: 34.55 kB / 413.1 MB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.266e-06/0.01067, allocations: 0 / 413.1 MB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.01071, allocations: 60.33 kB / 413.2 MB, free: 11.81 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.223e-06/0.01071, allocations: 0 / 413.2 MB, free: 11.81 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001904/0.01091, allocations: 122.7 kB / 413.3 MB, free: 11.67 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.01095, allocations: 81.09 kB / 413.4 MB, free: 11.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.964e-05/0.01098, allocations: 97.92 kB / 413.5 MB, free: 11.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.754e-06/0.01099, allocations: 25.7 kB / 413.5 MB, free: 11.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.115e-05/0.01101, allocations: 84.14 kB / 413.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.01102, allocations: 0 / 413.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.227e-05/0.01105, allocations: 13.72 kB / 413.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.99e-05/0.01113, allocations: 314.8 kB / 413.9 MB, free: 11.01 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.003e-05/0.01115, allocations: 25.7 kB / 413.9 MB, free: 10.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.181e-05/0.01116, allocations: 25.7 kB / 413.9 MB, free: 10.95 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.296e-05/0.0112, allocations: 68.25 kB / 414 MB, free: 10.87 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.0112, allocations: 64 / 414 MB, free: 10.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.007e-05/0.01126, allocations: 93.05 kB / 414.1 MB, free: 10.76 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.01129, allocations: 29.7 kB / 414.1 MB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.0113, allocations: 8 kB / 414.1 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.01131, allocations: 3.938 kB / 414.1 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.064e-06/0.01131, allocations: 3.984 kB / 414.2 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.01132, allocations: 0 / 414.2 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.421e-05/0.01133, allocations: 0 / 414.2 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.01134, allocations: 0 / 414.2 MB, free: 10.71 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.626e-05/0.01141, allocations: 135.5 kB / 414.3 MB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-06/0.01141, allocations: 4.031 kB / 414.3 MB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.313e-05/0.01143, allocations: 7 kB / 414.3 MB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.01143, allocations: 3.938 kB / 414.3 MB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.01143, allocations: 4 kB / 414.3 MB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.01144, allocations: 0 / 414.3 MB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.784e-05/0.0115, allocations: 116.8 kB / 414.4 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.01151, allocations: 0 / 414.4 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2e-07/0.01151, allocations: 0 / 414.4 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.01151, allocations: 0 / 414.4 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.01151, allocations: 4 kB / 414.4 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01152, allocations: 3.938 kB / 414.4 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.21e-07/0.01152, allocations: 4 kB / 414.4 MB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.488e-05/0.01161, allocations: 120.5 kB / 414.5 MB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.1e-06/0.01162, allocations: 0 / 414.5 MB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.01163, allocations: 0 / 414.5 MB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.346e-06/0.01164, allocations: 7.938 kB / 414.6 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.636e-05/0.01165, allocations: 0 / 414.6 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.01166, allocations: 3.938 kB / 414.6 MB, free: 10.21 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.482e-05/0.01168, allocations: 75.28 kB / 414.6 MB, free: 10.14 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01168, allocations: 0 / 414.6 MB, free: 10.14 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003544/0.01203, allocations: 147.6 kB / 414.8 MB, free: 9.992 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.0009579/0.01299, allocations: 0.9431 MB / 415.7 MB, free: 9.012 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001334/0.01313, allocations: 122.8 kB / 415.8 MB, free: 8.867 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01313, allocations: 0 / 415.8 MB, free: 8.867 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.529e-05/0.01316, allocations: 85.09 kB / 415.9 MB, free: 8.766 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001108/0.01327, allocations: 3.938 kB / 415.9 MB, free: 8.762 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004039/0.01368, allocations: 199.8 kB / 416.1 MB, free: 8.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.717e-05/0.01372, allocations: 59.34 kB / 416.2 MB, free: 8.441 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.366e-06/0.01373, allocations: 4 kB / 416.2 MB, free: 8.438 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.012e-05/0.01375, allocations: 8.5 kB / 416.2 MB, free: 8.43 MB / 394.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01375, allocations: 0 / 416.2 MB, free: 8.43 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.035, allocations: 6.022 MB / 422.2 MB, free: 2.383 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.337/7.372, allocations: 7.062 kB / 422.2 MB, free: 2.379 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions_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_ComplexMath_TestComplexFunctions.fmu > ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/ComplexMath/TestComplexFunctions/TestComplexFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions_res.csv: Error: Error opening file: ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,result Variables in the result: [Calling sys.exit(0), Time elapsed: 9.379270291887224]