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.0008713/0.0008713, allocations: 80.44 kB / 19.93 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.0009674/0.0009674, 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.8619/0.8619, allocations: 158.6 MB / 185 MB, free: 3.043 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.1389/0.1389, allocations: 32.37 MB / 269.6 MB, free: 14.96 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 1.483e-06/1.483e-06, allocations: 3.938 kB / 406.8 MB, free: 2.281 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.795e-05/1.944e-05, allocations: 2.281 kB / 406.8 MB, free: 2.277 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.001179/0.001198, allocations: 498.1 kB / 407.3 MB, free: 1.797 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.003401, allocations: 2.208 MB / 409.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.099e-05/0.003422, allocations: 0 / 409.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.316e-05/0.003435, allocations: 0 / 409.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 6.031e-06/0.003441, allocations: 0 / 409.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00177/0.005212, allocations: 1.152 MB / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 5.702e-05/0.005269, allocations: 8 kB / 410.7 MB, free: 14.4 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.784e-05/0.005307, allocations: 3.984 kB / 410.7 MB, free: 14.4 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.862e-05/0.005335, allocations: 0 / 410.7 MB, free: 14.4 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.399e-05/0.005359, allocations: 0 / 410.7 MB, free: 14.4 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.504e-06/0.005367, allocations: 0 / 410.7 MB, free: 14.4 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009702/0.006337, allocations: 0.9401 MB / 411.6 MB, free: 13.46 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.444e-06/0.006344, allocations: 0 / 411.6 MB, free: 13.46 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.839e-05/0.006363, allocations: 4 kB / 411.6 MB, free: 13.45 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004319/0.006795, allocations: 0.5106 MB / 412.1 MB, free: 12.94 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.006797, allocations: 0 / 412.1 MB, free: 12.94 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.006798, allocations: 0 / 412.1 MB, free: 12.94 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.006802, allocations: 0 / 412.1 MB, free: 12.94 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.0003084/0.00711, allocations: 359.2 kB / 412.5 MB, free: 12.55 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.007148, allocations: 12.03 kB / 412.5 MB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.399e-05/0.007172, allocations: 30.75 kB / 412.5 MB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.493e-05/0.007197, allocations: 0.9375 kB / 412.5 MB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.479e-05/0.007252, allocations: 105.8 kB / 412.6 MB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.007261, allocations: 384 / 412.6 MB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.697e-06/0.00727, allocations: 12.36 kB / 412.6 MB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.236e-05/0.007352, allocations: 55.91 kB / 412.7 MB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.007358, allocations: 192 / 412.7 MB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.007367, allocations: 4.125 kB / 412.7 MB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.007373, allocations: 4 kB / 412.7 MB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.911e-05/0.007392, allocations: 25.7 kB / 412.7 MB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.422e-05/0.007486, allocations: 112.8 kB / 412.8 MB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.517e-05/0.007532, allocations: 52.3 kB / 412.9 MB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.783e-05/0.007549, allocations: 30.56 kB / 412.9 MB, free: 12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.711e-06/0.007555, allocations: 4.062 kB / 412.9 MB, free: 12 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.007588, allocations: 64.2 kB / 413 MB, free: 11.92 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.007589, allocations: 0 / 413 MB, free: 11.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.000161/0.00775, allocations: 122.7 kB / 413.1 MB, free: 11.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.007785, allocations: 77.11 kB / 413.2 MB, free: 11.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.715e-05/0.007812, allocations: 89.86 kB / 413.3 MB, free: 11.58 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.007822, allocations: 29.7 kB / 413.3 MB, free: 11.55 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.382e-05/0.007846, allocations: 80.14 kB / 413.4 MB, free: 11.46 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/0.00786, allocations: 0 / 413.4 MB, free: 11.46 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.077e-05/0.007881, allocations: 13.72 kB / 413.4 MB, free: 11.45 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003332/0.008214, allocations: 311 kB / 413.7 MB, free: 11.13 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.873e-05/0.008233, allocations: 37.69 kB / 413.7 MB, free: 11.09 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.097e-05/0.008244, allocations: 25.7 kB / 413.7 MB, free: 11.06 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.372e-05/0.008278, allocations: 64.2 kB / 413.8 MB, free: 10.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.008281, allocations: 4 kB / 413.8 MB, free: 10.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.933e-05/0.00833, allocations: 89.11 kB / 413.9 MB, free: 10.87 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.008357, allocations: 37.69 kB / 413.9 MB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.008361, allocations: 0 / 413.9 MB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.008374, allocations: 3.938 kB / 413.9 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.008375, allocations: 0 / 413.9 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.008379, allocations: 8.031 kB / 413.9 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.114e-05/0.008391, allocations: 0 / 413.9 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.008397, allocations: 0 / 413.9 MB, free: 10.82 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 5.552e-05/0.008452, allocations: 135.5 kB / 414.1 MB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-06/0.008456, allocations: 0 / 414.1 MB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.839e-06/0.008466, allocations: 7 kB / 414.1 MB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.008469, allocations: 7.922 kB / 414.1 MB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.008472, allocations: 3.938 kB / 414.1 MB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.008474, allocations: 0 / 414.1 MB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.957e-05/0.008524, allocations: 116.7 kB / 414.2 MB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.6e-07/0.008524, allocations: 4 kB / 414.2 MB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-06/0.008525, allocations: 4 kB / 414.2 MB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.008526, allocations: 0 / 414.2 MB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-06/0.008532, allocations: 0 / 414.2 MB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.008533, allocations: 3.938 kB / 414.2 MB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.008533, allocations: 0 / 414.2 MB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.035e-05/0.008604, allocations: 120.5 kB / 414.3 MB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-06/0.008607, allocations: 0 / 414.3 MB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.127e-06/0.008616, allocations: 4 kB / 414.3 MB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.725e-06/0.008624, allocations: 11.91 kB / 414.3 MB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.01e-05/0.008634, allocations: 4.031 kB / 414.4 MB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.008636, allocations: 4 kB / 414.4 MB, free: 10.31 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.812e-05/0.008654, allocations: 75.28 kB / 414.4 MB, free: 10.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008654, allocations: 0 / 414.4 MB, free: 10.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000281/0.008935, allocations: 139.6 kB / 414.6 MB, free: 10.1 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.0006529/0.009588, allocations: 0.9469 MB / 415.5 MB, free: 9.113 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.308e-05/0.009671, allocations: 114.8 kB / 415.6 MB, free: 8.977 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.009673, allocations: 0 / 415.6 MB, free: 8.977 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.289e-05/0.009695, allocations: 81.11 kB / 415.7 MB, free: 8.879 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.606e-05/0.009792, allocations: 3.938 kB / 415.7 MB, free: 8.875 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002733/0.01006, allocations: 211.7 kB / 415.9 MB, free: 8.621 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.167e-05/0.0101, allocations: 59.48 kB / 416 MB, free: 8.543 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.922e-06/0.0101, allocations: 4 kB / 416 MB, free: 8.539 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.273e-05/0.01012, allocations: 8.5 kB / 416 MB, free: 8.531 MB / 394.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01012, allocations: 0 / 416 MB, free: 8.531 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01725/0.02736, allocations: 6.026 MB / 422 MB, free: 2.477 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.154/7.181, allocations: 3.938 kB / 422 MB, free: 2.473 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.191786249168217]