Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 194.6 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 225.7 MB / 252.5 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_4_0_0_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_4_0_0_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 47.92 kB / 370.4 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2739, allocations: 52.19 MB / 422.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003195/0.2771, allocations: 1.507 MB / 424 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.2781, allocations: 470.6 kB / 424.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.636e-05/0.2782, allocations: 4 kB / 424.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.2783, allocations: 23.86 kB / 424.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.769e-05/0.2784, allocations: 3.938 kB / 424.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.2786, allocations: 47.83 kB / 424.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.2787, allocations: 55.84 kB / 424.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.2788, allocations: 8 kB / 424.6 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.279, allocations: 39.83 kB / 424.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.858e-05/0.279, allocations: 19.92 kB / 424.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.2791, allocations: 8 kB / 424.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.193e-05/0.2791, allocations: 19.98 kB / 424.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.47e-05/0.2792, allocations: 15.94 kB / 424.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.776e-05/0.2792, allocations: 19.86 kB / 424.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.2794, allocations: 69.41 kB / 424.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2794, allocations: 3.938 kB / 424.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2794, allocations: 7.938 kB / 424.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.2794, allocations: 0 / 424.8 MB, free: 12.08 MB / 334.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.000677/0.2801, allocations: 310.1 kB / 425.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.2801, allocations: 12.03 kB / 425.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.699e-05/0.2802, allocations: 30.75 kB / 425.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.2802, allocations: 8.891 kB / 425.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.2803, allocations: 122.5 kB / 425.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.2803, allocations: 4.375 kB / 425.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.2803, allocations: 384 / 425.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.2806, allocations: 93.7 kB / 425.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.2806, allocations: 0 / 425.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.2806, allocations: 4 kB / 425.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.2806, allocations: 0 / 425.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003046/0.2809, allocations: 83.92 kB / 425.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004252/0.2814, allocations: 271.8 kB / 425.8 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.2816, allocations: 62.53 kB / 425.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.2818, allocations: 56.92 kB / 425.9 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.2818, allocations: 0 / 425.9 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.2818, allocations: 30.56 kB / 425.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 8.21e-07/0.2818, allocations: 0 / 425.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005799/0.2824, allocations: 157.6 kB / 426.1 MB, free: 10.72 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.2824, allocations: 55.41 kB / 426.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.197e-05/0.2825, allocations: 110.1 kB / 426.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.2825, allocations: 25.7 kB / 426.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.2826, allocations: 88.14 kB / 426.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.2826, allocations: 19.94 kB / 426.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.2827, allocations: 21.66 kB / 426.4 MB, free: 10.37 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.2828, allocations: 322.8 kB / 426.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.283, allocations: 35.97 kB / 426.7 MB, free: 10.01 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.2831, allocations: 39.95 kB / 426.8 MB, free: 9.969 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/0.2834, allocations: 80.73 kB / 426.8 MB, free: 9.887 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2834, allocations: 0 / 426.8 MB, free: 9.887 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003243/0.2837, allocations: 113.6 kB / 427 MB, free: 9.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.2837, allocations: 7.938 kB / 427 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2837, allocations: 0 / 427 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.2837, allocations: 0 / 427 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.2839, allocations: 23.98 kB / 427 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.2839, allocations: 0 / 427 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.097e-05/0.284, allocations: 19.91 kB / 427 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.284, allocations: 3.938 kB / 427 MB, free: 9.715 MB / 334.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 0.0001083/0.2841, allocations: 113.8 kB / 427.1 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.2841, allocations: 7.953 kB / 427.1 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003963/0.2845, allocations: 133.6 kB / 427.3 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.2845, allocations: 448 / 427.3 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2845, allocations: 0 / 427.3 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2845, allocations: 4 kB / 427.3 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.2847, allocations: 152.7 kB / 427.4 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.2847, allocations: 3.984 kB / 427.4 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.2848, allocations: 23.98 kB / 427.4 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2848, allocations: 0 / 427.4 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.2848, allocations: 4 kB / 427.4 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2848, allocations: 0 / 427.4 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2848, allocations: 0 / 427.4 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004101/0.2852, allocations: 223.3 kB / 427.7 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.375e-05/0.2853, allocations: 11.95 kB / 427.7 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.2853, allocations: 4 kB / 427.7 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.2854, allocations: 11.98 kB / 427.7 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.2854, allocations: 7.984 kB / 427.7 MB, free: 8.949 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.2854, allocations: 4 kB / 427.7 MB, free: 8.945 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.566e-05/0.2855, allocations: 95.14 kB / 427.8 MB, free: 8.852 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2855, allocations: 0 / 427.8 MB, free: 8.852 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002201/0.2857, allocations: 12 kB / 427.8 MB, free: 8.84 MB / 334.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.0007775/0.2865, allocations: 0.7592 MB / 428.6 MB, free: 8.055 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003595/0.2869, allocations: 79.92 kB / 428.6 MB, free: 7.977 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2869, allocations: 0 / 428.6 MB, free: 7.977 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.287, allocations: 51.89 kB / 428.7 MB, free: 7.926 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.2874, allocations: 15.03 kB / 428.7 MB, free: 7.914 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005463/0.2879, allocations: 192.2 kB / 428.9 MB, free: 7.688 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.47e-05/0.288, allocations: 79.12 kB / 429 MB, free: 7.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.657e-05/0.288, allocations: 4 kB / 429 MB, free: 7.586 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.277e-05/0.2881, allocations: 27.42 kB / 429 MB, free: 7.559 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2881, allocations: 0 / 429 MB, free: 7.559 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0313/0.3194, allocations: 2.583 MB / 431.6 MB, free: 5.109 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/10.74, allocations: 7.125 kB / 431.6 MB, free: 5.109 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_ComplexBlocks_Examples_TestConversionBlock_fmu --startTime=0 --stopTime=1.01 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 13.016361290123314]