Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.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.0009025/0.0009025, 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.0009282/0.0009282, allocations: 170.3 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.8859/0.8859, 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.13/0.13, allocations: 32.36 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.ComplexMath.TestComplexOperations,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexOperations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexOperations,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexOperations",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 406.8 MB, free: 2.285 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.523e-05, allocations: 6.281 kB / 406.8 MB, free: 2.277 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001364/0.001389, allocations: 498.4 kB / 407.3 MB, free: 1.797 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002503/0.003893, allocations: 2.208 MB / 409.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.46e-05/0.003917, allocations: 0 / 409.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.593e-05/0.003933, allocations: 0 / 409.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 7.374e-06/0.00394, allocations: 0 / 409.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002234/0.006174, allocations: 1.148 MB / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 6.597e-05/0.00624, allocations: 8 kB / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.521e-05/0.006295, allocations: 3.984 kB / 410.7 MB, free: 14.4 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.183e-05/0.006327, allocations: 0 / 410.7 MB, free: 14.4 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.594e-05/0.006353, allocations: 0 / 410.7 MB, free: 14.4 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.849e-06/0.006363, allocations: 4 kB / 410.7 MB, free: 14.4 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.007643, allocations: 0.944 MB / 411.6 MB, free: 13.45 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.908e-06/0.007653, allocations: 0 / 411.6 MB, free: 13.45 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.235e-05/0.007675, allocations: 4 kB / 411.6 MB, free: 13.45 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008745/0.00855, allocations: 0.499 MB / 412.1 MB, free: 12.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.008553, allocations: 3.938 kB / 412.1 MB, free: 12.95 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.008554, allocations: 0 / 412.1 MB, free: 12.95 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.008559, allocations: 0 / 412.1 MB, free: 12.95 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.0003521/0.008911, allocations: 355.3 kB / 412.5 MB, free: 12.56 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.008957, allocations: 15.97 kB / 412.5 MB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.552e-05/0.008982, allocations: 30.75 kB / 412.5 MB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.979e-05/0.009012, allocations: 4.938 kB / 412.5 MB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.621e-05/0.009068, allocations: 113.7 kB / 412.6 MB, free: 12.37 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.009078, allocations: 384 / 412.6 MB, free: 12.37 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-06/0.009086, allocations: 4.375 kB / 412.6 MB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.708e-05/0.009173, allocations: 51.97 kB / 412.7 MB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.009182, allocations: 192 / 412.7 MB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.009191, allocations: 8.125 kB / 412.7 MB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.009195, allocations: 0 / 412.7 MB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.219e-05/0.009217, allocations: 25.7 kB / 412.7 MB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001037/0.009321, allocations: 124.7 kB / 412.8 MB, free: 12.1 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.922e-05/0.00937, allocations: 48.22 kB / 412.9 MB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.932e-05/0.009389, allocations: 38.66 kB / 412.9 MB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.873e-06/0.009396, allocations: 0 / 412.9 MB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.00943, allocations: 60.25 kB / 413 MB, free: 11.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.009431, allocations: 0 / 413 MB, free: 11.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001708/0.009602, allocations: 122.7 kB / 413.1 MB, free: 11.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.009642, allocations: 81.11 kB / 413.2 MB, free: 11.67 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.95e-05/0.009671, allocations: 89.86 kB / 413.3 MB, free: 11.57 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.009681, allocations: 25.7 kB / 413.3 MB, free: 11.54 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.156e-05/0.009702, allocations: 80.14 kB / 413.4 MB, free: 11.46 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.009718, allocations: 0 / 413.4 MB, free: 11.46 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/0.009741, allocations: 21.78 kB / 413.4 MB, free: 11.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.602e-05/0.009817, allocations: 314.8 kB / 413.7 MB, free: 11.12 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.973e-05/0.009837, allocations: 29.69 kB / 413.7 MB, free: 11.08 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.341e-05/0.00985, allocations: 29.7 kB / 413.7 MB, free: 11.05 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.943e-05/0.009889, allocations: 60.27 kB / 413.8 MB, free: 10.97 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.009893, allocations: 4 kB / 413.8 MB, free: 10.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.861e-05/0.009951, allocations: 89.09 kB / 413.9 MB, free: 10.86 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.009985, allocations: 33.7 kB / 413.9 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.00999, allocations: 0 / 413.9 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.01, allocations: 8.031 kB / 413.9 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-07/0.01, allocations: 0 / 413.9 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.01001, allocations: 0 / 413.9 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.196e-05/0.01002, allocations: 3.938 kB / 413.9 MB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.01003, allocations: 7.938 kB / 413.9 MB, free: 10.8 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.138e-05/0.0101, allocations: 131.5 kB / 414.1 MB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.939e-06/0.01011, allocations: 4 kB / 414.1 MB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.179e-05/0.01012, allocations: 6.984 kB / 414.1 MB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.01012, allocations: 3.938 kB / 414.1 MB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.01012, allocations: 3.938 kB / 414.1 MB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.01013, allocations: 4 kB / 414.1 MB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.015e-05/0.0102, allocations: 112.8 kB / 414.2 MB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.0102, allocations: 4 kB / 414.2 MB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.0102, allocations: 0 / 414.2 MB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.0102, allocations: 0 / 414.2 MB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.01021, allocations: 0 / 414.2 MB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.01021, allocations: 3.938 kB / 414.2 MB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01021, allocations: 0 / 414.2 MB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.825e-05/0.0103, allocations: 116.5 kB / 414.3 MB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-06/0.0103, allocations: 4 kB / 414.3 MB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.01032, allocations: 7.984 kB / 414.3 MB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-06/0.01032, allocations: 7.969 kB / 414.4 MB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.308e-05/0.01034, allocations: 3.938 kB / 414.4 MB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-06/0.01034, allocations: 0 / 414.4 MB, free: 10.31 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.991e-05/0.01036, allocations: 79.28 kB / 414.4 MB, free: 10.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01036, allocations: 0 / 414.4 MB, free: 10.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003512/0.01071, allocations: 135.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.0008467/0.01156, allocations: 0.951 MB / 415.5 MB, free: 9.109 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001109/0.01167, allocations: 110.8 kB / 415.6 MB, free: 8.977 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01167, allocations: 0 / 415.6 MB, free: 8.977 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.889e-05/0.0117, allocations: 85.05 kB / 415.7 MB, free: 8.875 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001086/0.01181, allocations: 3.938 kB / 415.7 MB, free: 8.871 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/0.01219, allocations: 211.9 kB / 415.9 MB, free: 8.617 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.282e-05/0.01223, allocations: 55.36 kB / 416 MB, free: 8.543 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.426e-06/0.01224, allocations: 4 kB / 416 MB, free: 8.539 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.794e-05/0.01225, allocations: 12.5 kB / 416 MB, free: 8.527 MB / 394.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01226, allocations: 0 / 416 MB, free: 8.527 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02419/0.03644, allocations: 6.018 MB / 422 MB, free: 2.477 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.032/7.068, allocations: 7.375 kB / 422 MB, free: 2.473 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations_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_TestComplexOperations.fmu > ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/ComplexMath/TestComplexOperations/TestComplexOperations.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations_res.csv: Error: Error opening file: ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,result Variables in the result: [Calling sys.exit(0), Time elapsed: 9.148607539013028]