Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.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.001313/0.001313, allocations: 115.5 kB / 18.45 MB, free: 4.609 MB / 14.72 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.001387/0.001387, allocations: 215.3 kB / 21.41 MB, free: 1.648 MB / 14.72 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 1.532/1.532, allocations: 207.6 MB / 231.8 MB, free: 4.055 MB / 174.1 MB " [Timeout remaining time 178] 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(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 51.92 kB / 342.3 MB, free: 10.03 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1057, allocations: 49.13 MB / 391.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002812/0.1085, allocations: 1.498 MB / 392.9 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009581/0.1095, allocations: 0.5479 MB / 393.4 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.396e-05/0.1095, allocations: 0 / 393.4 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.1096, allocations: 15.88 kB / 393.4 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.452e-05/0.1097, allocations: 7.922 kB / 393.5 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001723/0.1099, allocations: 43.91 kB / 393.5 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.11, allocations: 55.78 kB / 393.6 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1101, allocations: 19.92 kB / 393.6 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.1102, allocations: 23.92 kB / 393.6 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.606e-05/0.1103, allocations: 39.83 kB / 393.6 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.1103, allocations: 8 kB / 393.6 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.355e-05/0.1104, allocations: 15.94 kB / 393.7 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.946e-05/0.1104, allocations: 15.92 kB / 393.7 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.165e-05/0.1104, allocations: 35.8 kB / 393.7 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.1106, allocations: 63.78 kB / 393.8 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1106, allocations: 4 kB / 393.8 MB, free: 6.332 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1106, allocations: 3.938 kB / 393.8 MB, free: 6.328 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1106, allocations: 0 / 393.8 MB, free: 6.328 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006905/0.1113, allocations: 379.2 kB / 394.1 MB, free: 5.91 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.1113, allocations: 8.031 kB / 394.2 MB, free: 5.902 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.874e-05/0.1114, allocations: 42.69 kB / 394.2 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.1114, allocations: 4.891 kB / 394.2 MB, free: 5.848 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.1116, allocations: 176.3 kB / 394.4 MB, free: 5.637 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.1116, allocations: 8.375 kB / 394.4 MB, free: 5.629 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.1116, allocations: 4.375 kB / 394.4 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002926/0.1119, allocations: 89.7 kB / 394.5 MB, free: 5.531 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1119, allocations: 7.984 kB / 394.5 MB, free: 5.523 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1119, allocations: 0 / 394.5 MB, free: 5.523 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.1119, allocations: 0 / 394.5 MB, free: 5.523 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003692/0.1123, allocations: 79.92 kB / 394.6 MB, free: 5.445 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/0.1127, allocations: 316.7 kB / 394.9 MB, free: 5.086 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.113, allocations: 66.53 kB / 394.9 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.1132, allocations: 40.95 kB / 395 MB, free: 4.969 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.1132, allocations: 4 kB / 395 MB, free: 4.965 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.1132, allocations: 34.56 kB / 395 MB, free: 4.922 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.1132, allocations: 0 / 395 MB, free: 4.922 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006103/0.1138, allocations: 153.6 kB / 395.2 MB, free: 4.766 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.1139, allocations: 51.41 kB / 395.2 MB, free: 4.703 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.196e-05/0.1139, allocations: 113.8 kB / 395.3 MB, free: 4.582 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.114, allocations: 25.7 kB / 395.3 MB, free: 4.551 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.814e-05/0.114, allocations: 96.02 kB / 395.4 MB, free: 4.453 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.114, allocations: 15.91 kB / 395.5 MB, free: 4.438 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/0.1141, allocations: 17.72 kB / 395.5 MB, free: 4.414 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1142, allocations: 322.8 kB / 395.8 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.1144, allocations: 35.97 kB / 395.8 MB, free: 4.055 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.1145, allocations: 35.95 kB / 395.9 MB, free: 4.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003095/0.1148, allocations: 85.16 kB / 395.9 MB, free: 3.934 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.1149, allocations: 8 kB / 395.9 MB, free: 3.926 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000374/0.1152, allocations: 113.5 kB / 396.1 MB, free: 3.809 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.1152, allocations: 8 kB / 396.1 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1152, allocations: 3.938 kB / 396.1 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.1153, allocations: 0 / 396.1 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.1154, allocations: 19.97 kB / 396.1 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1154, allocations: 4 kB / 396.1 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.751e-05/0.1155, allocations: 11.98 kB / 396.1 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.1155, allocations: 3.938 kB / 396.1 MB, free: 3.758 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 8.76e-05/0.1156, allocations: 113.8 kB / 396.2 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/0.1156, allocations: 7.953 kB / 396.2 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004426/0.1161, allocations: 133.5 kB / 396.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1161, allocations: 4 kB / 396.4 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1161, allocations: 0 / 396.4 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.1161, allocations: 0 / 396.4 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.1163, allocations: 197.5 kB / 396.6 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1163, allocations: 0 / 396.6 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.1164, allocations: 15.98 kB / 396.6 MB, free: 3.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.1164, allocations: 4 kB / 396.6 MB, free: 3.227 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.1165, allocations: 0 / 396.6 MB, free: 3.227 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.1165, allocations: 4 kB / 396.6 MB, free: 3.223 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1165, allocations: 0 / 396.6 MB, free: 3.223 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004496/0.1169, allocations: 231.4 kB / 396.8 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.654e-05/0.117, allocations: 77.11 kB / 396.9 MB, free: 2.887 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.117, allocations: 0 / 396.9 MB, free: 2.887 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.1171, allocations: 19.98 kB / 396.9 MB, free: 2.867 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/0.1171, allocations: 7.984 kB / 396.9 MB, free: 2.859 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.1171, allocations: 0 / 396.9 MB, free: 2.859 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.625e-05/0.1172, allocations: 99.52 kB / 397 MB, free: 2.762 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1172, allocations: 0 / 397 MB, free: 2.762 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002304/0.1174, allocations: 11.95 kB / 397 MB, free: 2.75 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.0008865/0.1183, allocations: 0.7514 MB / 397.8 MB, free: 1.973 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003892/0.1187, allocations: 87.92 kB / 397.9 MB, free: 1.887 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1187, allocations: 0 / 397.9 MB, free: 1.887 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.1189, allocations: 43.89 kB / 397.9 MB, free: 1.844 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.1192, allocations: 8.188 kB / 397.9 MB, free: 1.836 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005271/0.1197, allocations: 195.5 kB / 398.1 MB, free: 1.602 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.1201, allocations: 0.6924 MB / 398.8 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.903e-05/0.1201, allocations: 3.938 kB / 398.8 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.77e-05/0.1201, allocations: 23.44 kB / 398.8 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1201, allocations: 0 / 398.8 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.1436, allocations: 2.051 MB / 400.9 MB, free: 14.76 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.308/8.451, allocations: 7.984 kB / 400.9 MB, free: 14.75 MB / 334.1 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.049550169991562]