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.002332/0.002332, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002422/0.002422, allocations: 215 kB / 24.47 MB, free: 3.777 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.491/1.491, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.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.001841/0.001841, allocations: 50.73 kB / 347.2 MB, free: 9.926 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2772, allocations: 49.15 MB / 396.3 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003097/0.2803, allocations: 1.488 MB / 397.8 MB, free: 7.867 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.2813, allocations: 0.5126 MB / 398.3 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.068e-05/0.2814, allocations: 1.125 kB / 398.3 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.2815, allocations: 16.88 kB / 398.3 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.588e-05/0.2816, allocations: 10.69 kB / 398.3 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.2818, allocations: 39.89 kB / 398.4 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.2819, allocations: 56.92 kB / 398.4 MB, free: 7.457 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.282, allocations: 19.16 kB / 398.5 MB, free: 7.449 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.2822, allocations: 31.25 kB / 398.5 MB, free: 7.434 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.263e-05/0.2823, allocations: 29.88 kB / 398.5 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.2823, allocations: 5.594 kB / 398.5 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.963e-05/0.2823, allocations: 13.72 kB / 398.5 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.976e-05/0.2824, allocations: 16.48 kB / 398.6 MB, free: 7.406 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.943e-05/0.2824, allocations: 18.69 kB / 398.6 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.2826, allocations: 71.83 kB / 398.6 MB, free: 7.363 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.2826, allocations: 4 kB / 398.6 MB, free: 7.359 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2826, allocations: 0 / 398.6 MB, free: 7.359 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.2826, allocations: 4 kB / 398.6 MB, free: 7.355 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.0005933/0.2832, allocations: 310.6 kB / 399 MB, free: 7.07 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.2833, allocations: 14.02 kB / 399 MB, free: 7.066 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.761e-05/0.2833, allocations: 33.84 kB / 399 MB, free: 7.027 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.808e-05/0.2833, allocations: 8.547 kB / 399 MB, free: 7.023 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.381e-05/0.2834, allocations: 115.1 kB / 399.1 MB, free: 6.891 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.2834, allocations: 2.781 kB / 399.1 MB, free: 6.891 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.2834, allocations: 3.594 kB / 399.1 MB, free: 6.891 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.2837, allocations: 94.52 kB / 399.2 MB, free: 6.836 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.2837, allocations: 0 / 399.2 MB, free: 6.836 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.2837, allocations: 4.562 kB / 399.2 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.2837, allocations: 1.875 kB / 399.2 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003023/0.284, allocations: 76.16 kB / 399.3 MB, free: 6.82 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003447/0.2843, allocations: 271.9 kB / 399.6 MB, free: 6.555 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.2846, allocations: 69.88 kB / 399.6 MB, free: 6.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.2847, allocations: 42.47 kB / 399.7 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.2848, allocations: 1.094 kB / 399.7 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.2848, allocations: 33.67 kB / 399.7 MB, free: 6.465 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.2848, allocations: 0 / 399.7 MB, free: 6.465 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005534/0.2853, allocations: 155.8 kB / 399.9 MB, free: 6.402 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.2854, allocations: 52.94 kB / 399.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.044e-05/0.2854, allocations: 109.3 kB / 400 MB, free: 6.238 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.2854, allocations: 27.2 kB / 400 MB, free: 6.207 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.359e-05/0.2855, allocations: 95.3 kB / 400.1 MB, free: 6.113 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.2855, allocations: 23.61 kB / 400.2 MB, free: 6.094 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.2855, allocations: 18.92 kB / 400.2 MB, free: 6.074 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.007e-05/0.2856, allocations: 322.2 kB / 400.5 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.2858, allocations: 42.78 kB / 400.5 MB, free: 5.742 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.2859, allocations: 33.34 kB / 400.6 MB, free: 5.738 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/0.2862, allocations: 84.81 kB / 400.7 MB, free: 5.711 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.2862, allocations: 5.406 kB / 400.7 MB, free: 5.707 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003348/0.2865, allocations: 117.1 kB / 400.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.2865, allocations: 6.203 kB / 400.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2866, allocations: 0 / 400.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.2866, allocations: 1.281 kB / 400.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.2867, allocations: 18.92 kB / 400.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.2867, allocations: 0 / 400.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.326e-05/0.2868, allocations: 16.48 kB / 400.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.2868, allocations: 5.438 kB / 400.8 MB, free: 5.645 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 5.924e-05/0.2869, allocations: 113.2 kB / 400.9 MB, free: 5.527 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.2869, allocations: 14.77 kB / 400.9 MB, free: 5.516 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003842/0.2873, allocations: 127.5 kB / 401.1 MB, free: 5.457 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2873, allocations: 6.188 kB / 401.1 MB, free: 5.453 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.2873, allocations: 0 / 401.1 MB, free: 5.453 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2873, allocations: 0.6094 kB / 401.1 MB, free: 5.453 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.2874, allocations: 151 kB / 401.2 MB, free: 5.285 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2874, allocations: 0 / 401.2 MB, free: 5.285 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.2876, allocations: 21.78 kB / 401.2 MB, free: 5.285 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2876, allocations: 0 / 401.2 MB, free: 5.285 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.2876, allocations: 2.078 kB / 401.2 MB, free: 5.285 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2876, allocations: 0 / 401.2 MB, free: 5.285 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2876, allocations: 0.5625 kB / 401.2 MB, free: 5.285 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003466/0.2879, allocations: 229 kB / 401.5 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.131e-05/0.2879, allocations: 7.016 kB / 401.5 MB, free: 5.117 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.2879, allocations: 1.938 kB / 401.5 MB, free: 5.117 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.2881, allocations: 11.34 kB / 401.5 MB, free: 5.117 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.2881, allocations: 9.562 kB / 401.5 MB, free: 5.113 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.2881, allocations: 1.5 kB / 401.5 MB, free: 5.113 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.716e-05/0.2882, allocations: 93.75 kB / 401.6 MB, free: 5.031 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2882, allocations: 4 kB / 401.6 MB, free: 5.027 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002333/0.2884, allocations: 21.31 kB / 401.6 MB, free: 5.016 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.0006564/0.289, allocations: 0.7513 MB / 402.4 MB, free: 4.332 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004904/0.2895, allocations: 92.7 kB / 402.5 MB, free: 4.309 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2895, allocations: 0 / 402.5 MB, free: 4.309 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.2897, allocations: 49.72 kB / 402.5 MB, free: 4.297 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.2901, allocations: 8.438 kB / 402.5 MB, free: 4.293 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005576/0.2906, allocations: 192.1 kB / 402.7 MB, free: 4.113 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.348e-05/0.2907, allocations: 80.27 kB / 402.8 MB, free: 4.035 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.766e-05/0.2908, allocations: 2.953 kB / 402.8 MB, free: 4.035 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.214e-05/0.2908, allocations: 21.22 kB / 402.8 MB, free: 4.02 MB / 318.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2908, allocations: 0 / 402.8 MB, free: 4.02 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03299/0.3238, allocations: 2.604 MB / 405.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.83, allocations: 2.125 kB / 405.4 MB, free: 2.934 MB / 318.1 MB " [Timeout remaining time 648] (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: 14.367159779183567]