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.0008501/0.0008501, 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.0008225/0.0008225, allocations: 166 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.8356/0.8356, allocations: 158.6 MB / 185.1 MB, free: 3.016 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.1294/0.1294, 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.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.754e-06/1.754e-06, allocations: 0 / 407 MB, free: 2.18 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.385e-05/2.56e-05, allocations: 5.938 kB / 407 MB, free: 2.176 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001334/0.00136, allocations: 494.6 kB / 407.5 MB, free: 1.695 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002375/0.003735, allocations: 2.212 MB / 409.7 MB, free: 15.46 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.469e-05/0.00376, allocations: 0 / 409.7 MB, free: 15.46 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.12e-05/0.003771, allocations: 4 kB / 409.7 MB, free: 15.46 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 7.153e-06/0.003778, allocations: 0 / 409.7 MB, free: 15.46 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00208/0.005858, allocations: 1.152 MB / 410.9 MB, free: 14.3 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 5.074e-05/0.005909, allocations: 3.984 kB / 410.9 MB, free: 14.3 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.545e-05/0.005944, allocations: 4 kB / 410.9 MB, free: 14.29 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.728e-05/0.005972, allocations: 4 kB / 410.9 MB, free: 14.29 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.519e-05/0.005997, allocations: 4 kB / 410.9 MB, free: 14.29 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.614e-06/0.006004, allocations: 0 / 410.9 MB, free: 14.29 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.007126, allocations: 0.9401 MB / 411.8 MB, free: 13.34 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.928e-06/0.007136, allocations: 0 / 411.8 MB, free: 13.34 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.901e-05/0.007155, allocations: 0 / 411.8 MB, free: 13.34 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005525/0.007707, allocations: 0.499 MB / 412.3 MB, free: 12.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.007711, allocations: 0 / 412.3 MB, free: 12.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.007712, allocations: 0 / 412.3 MB, free: 12.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.007717, allocations: 4 kB / 412.3 MB, free: 12.84 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.0003295/0.008046, allocations: 363.3 kB / 412.7 MB, free: 12.45 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.008085, allocations: 8.031 kB / 412.7 MB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.291e-05/0.008108, allocations: 34.69 kB / 412.7 MB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.437e-05/0.008133, allocations: 0.9375 kB / 412.7 MB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.756e-05/0.00819, allocations: 113.8 kB / 412.8 MB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.547e-06/0.008199, allocations: 384 / 412.8 MB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.008208, allocations: 384 / 412.8 MB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.744e-05/0.008296, allocations: 55.97 kB / 412.9 MB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.008302, allocations: 192 / 412.9 MB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.00831, allocations: 4.125 kB / 412.9 MB, free: 12.19 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.008315, allocations: 0 / 412.9 MB, free: 12.19 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.362e-05/0.008338, allocations: 33.7 kB / 412.9 MB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.919e-05/0.008428, allocations: 116.8 kB / 413 MB, free: 12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.444e-05/0.008472, allocations: 52.25 kB / 413.1 MB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.633e-05/0.008488, allocations: 30.56 kB / 413.1 MB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.021e-06/0.008494, allocations: 0 / 413.1 MB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.008528, allocations: 60.33 kB / 413.2 MB, free: 11.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.008529, allocations: 0 / 413.2 MB, free: 11.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001698/0.008699, allocations: 126.7 kB / 413.3 MB, free: 11.67 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.008734, allocations: 81.05 kB / 413.4 MB, free: 11.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.611e-05/0.00876, allocations: 93.98 kB / 413.5 MB, free: 11.47 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.834e-06/0.008768, allocations: 25.7 kB / 413.5 MB, free: 11.44 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.816e-05/0.008786, allocations: 80.14 kB / 413.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.008804, allocations: 4 kB / 413.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.787e-05/0.008822, allocations: 9.719 kB / 413.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.147e-05/0.008893, allocations: 314.8 kB / 413.9 MB, free: 11.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.766e-05/0.008911, allocations: 29.7 kB / 413.9 MB, free: 10.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.302e-05/0.008924, allocations: 29.7 kB / 414 MB, free: 10.95 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.593e-05/0.00896, allocations: 60.27 kB / 414 MB, free: 10.88 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.008961, allocations: 0 / 414 MB, free: 10.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.693e-05/0.009018, allocations: 93.16 kB / 414.1 MB, free: 10.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.009045, allocations: 33.7 kB / 414.1 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.009051, allocations: 4 kB / 414.1 MB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.009067, allocations: 11.88 kB / 414.1 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.009068, allocations: 0 / 414.1 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.009073, allocations: 0 / 414.1 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.249e-05/0.009085, allocations: 0 / 414.1 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.009092, allocations: 0 / 414.1 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.453e-05/0.009156, allocations: 135.5 kB / 414.3 MB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.372e-06/0.009163, allocations: 3.984 kB / 414.3 MB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.448e-06/0.009172, allocations: 7.031 kB / 414.3 MB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.009175, allocations: 3.938 kB / 414.3 MB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.009178, allocations: 0 / 414.3 MB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.009181, allocations: 4 kB / 414.3 MB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.746e-05/0.009239, allocations: 112.8 kB / 414.4 MB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.009239, allocations: 0 / 414.4 MB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.00924, allocations: 0 / 414.4 MB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.71e-07/0.009241, allocations: 0 / 414.4 MB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/0.009247, allocations: 4 kB / 414.4 MB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.009249, allocations: 7.922 kB / 414.4 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.00925, allocations: 0 / 414.4 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.198e-05/0.009322, allocations: 120.5 kB / 414.5 MB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-06/0.009327, allocations: 3.984 kB / 414.5 MB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.817e-06/0.009336, allocations: 0 / 414.5 MB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.805e-06/0.009344, allocations: 11.88 kB / 414.6 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.271e-05/0.009357, allocations: 0 / 414.6 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.00936, allocations: 4 kB / 414.6 MB, free: 10.21 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.087e-05/0.00938, allocations: 75.28 kB / 414.6 MB, free: 10.14 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.00938, allocations: 0 / 414.6 MB, free: 10.14 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003985/0.009779, allocations: 143.6 kB / 414.8 MB, free: 9.996 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.0007304/0.01051, allocations: 0.9433 MB / 415.7 MB, free: 9.016 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001002/0.01061, allocations: 118.7 kB / 415.8 MB, free: 8.875 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.01061, allocations: 4.062 kB / 415.8 MB, free: 8.871 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.304e-05/0.01063, allocations: 77.11 kB / 415.9 MB, free: 8.777 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.526e-05/0.01073, allocations: 7.938 kB / 415.9 MB, free: 8.77 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002972/0.01103, allocations: 207.8 kB / 416.1 MB, free: 8.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.583e-05/0.01106, allocations: 55.36 kB / 416.2 MB, free: 8.445 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.882e-06/0.01107, allocations: 4 kB / 416.2 MB, free: 8.441 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.174e-05/0.01109, allocations: 8.5 kB / 416.2 MB, free: 8.434 MB / 394.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01109, allocations: 0 / 416.2 MB, free: 8.434 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02062/0.03172, allocations: 6.022 MB / 422.2 MB, free: 2.387 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.954/6.985, allocations: 3.938 kB / 422.2 MB, free: 2.383 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: 8.997905725613236]