Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.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.001174/0.001174, 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.001004/0.001004, allocations: 169.9 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.8428/0.8428, allocations: 158.6 MB / 185 MB, free: 3.02 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.1259/0.1259, allocations: 32.37 MB / 269.6 MB, free: 14.96 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.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 406.8 MB, free: 2.234 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.887e-05/2.064e-05, allocations: 2.281 kB / 406.8 MB, free: 2.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002401/0.002422, allocations: 2.041 MB / 408.9 MB, free: 184 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.00368, allocations: 1.204 MB / 410.1 MB, free: 14.96 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.039e-05/0.003751, allocations: 4 kB / 410.1 MB, free: 14.96 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 4.81e-05/0.003799, allocations: 23.72 kB / 410.1 MB, free: 14.94 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 9.774e-05/0.003897, allocations: 35.66 kB / 410.2 MB, free: 14.9 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004058/0.004302, allocations: 187.1 kB / 410.3 MB, free: 14.72 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.004465, allocations: 184 kB / 410.5 MB, free: 14.54 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001695/0.004634, allocations: 76.14 kB / 410.6 MB, free: 14.46 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.004773, allocations: 111.7 kB / 410.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.782e-05/0.00485, allocations: 71.66 kB / 410.8 MB, free: 14.29 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.004874, allocations: 16 kB / 410.8 MB, free: 14.27 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002047/0.005079, allocations: 143.8 kB / 410.9 MB, free: 14.13 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.016e-05/0.005109, allocations: 43.83 kB / 411 MB, free: 14.09 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.095e-05/0.00515, allocations: 63.77 kB / 411 MB, free: 14.02 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002794/0.005429, allocations: 326.7 kB / 411.3 MB, free: 13.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.005432, allocations: 0 / 411.3 MB, free: 13.7 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.005433, allocations: 0 / 411.3 MB, free: 13.7 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.005438, allocations: 0 / 411.3 MB, free: 13.7 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0004349/0.005873, allocations: 465.5 kB / 411.8 MB, free: 13.22 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.005911, allocations: 8.031 kB / 411.8 MB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.821e-05/0.005999, allocations: 95.11 kB / 411.9 MB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004381/0.006437, allocations: 72.73 kB / 412 MB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.648e-05/0.006524, allocations: 133.4 kB / 412.1 MB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.006544, allocations: 28.97 kB / 412.1 MB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.006566, allocations: 28.38 kB / 412.2 MB, free: 12.83 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.006826, allocations: 234.7 kB / 412.4 MB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.006836, allocations: 4.125 kB / 412.4 MB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.006852, allocations: 16.12 kB / 412.4 MB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.006859, allocations: 8 kB / 412.4 MB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.007051, allocations: 162.5 kB / 412.6 MB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006409/0.007691, allocations: 0.5626 MB / 413.1 MB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003359/0.008027, allocations: 216.5 kB / 413.3 MB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.04e-05/0.008108, allocations: 65.3 kB / 413.4 MB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.008128, allocations: 4.219 kB / 413.4 MB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.008144, allocations: 35.27 kB / 413.5 MB, free: 11.47 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 1.252e-06/0.008145, allocations: 0 / 413.5 MB, free: 11.47 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002835/0.008429, allocations: 221.5 kB / 413.7 MB, free: 11.25 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.008461, allocations: 55.41 kB / 413.7 MB, free: 11.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.742e-05/0.008508, allocations: 102 kB / 413.8 MB, free: 11.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.008522, allocations: 29.7 kB / 413.9 MB, free: 11.04 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/0.008577, allocations: 160.5 kB / 414 MB, free: 10.88 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/0.008623, allocations: 91.19 kB / 414.1 MB, free: 10.79 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.008664, allocations: 37.7 kB / 414.1 MB, free: 10.74 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.75e-05/0.008742, allocations: 326.8 kB / 414.5 MB, free: 10.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.593e-05/0.008797, allocations: 43.97 kB / 414.5 MB, free: 10.37 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.156e-05/0.008849, allocations: 52.05 kB / 414.5 MB, free: 10.32 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.008979, allocations: 118.2 kB / 414.7 MB, free: 10.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.008981, allocations: 7.875 kB / 414.7 MB, free: 10.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001631/0.009144, allocations: 165.6 kB / 414.8 MB, free: 10.03 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.009156, allocations: 4 kB / 414.8 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.009161, allocations: 0 / 414.8 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.009175, allocations: 4 kB / 414.8 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.009361, allocations: 103.9 kB / 414.9 MB, free: 9.918 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.009367, allocations: 4 kB / 414.9 MB, free: 9.914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.26e-05/0.0094, allocations: 19.83 kB / 415 MB, free: 9.895 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.009409, allocations: 4 kB / 415 MB, free: 9.891 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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 7.691e-05/0.009486, allocations: 129.8 kB / 415.1 MB, free: 9.754 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.009504, allocations: 11.91 kB / 415.1 MB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.009534, allocations: 21.31 kB / 415.1 MB, free: 9.719 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.009537, allocations: 4 kB / 415.1 MB, free: 9.715 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.009544, allocations: 11.92 kB / 415.1 MB, free: 9.703 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.009547, allocations: 0 / 415.1 MB, free: 9.703 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.009732, allocations: 252.5 kB / 415.4 MB, free: 9.414 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.009733, allocations: 0 / 415.4 MB, free: 9.414 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.009896, allocations: 95.94 kB / 415.5 MB, free: 9.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.009898, allocations: 3.938 kB / 415.5 MB, free: 9.316 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.009907, allocations: 4 kB / 415.5 MB, free: 9.312 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.009909, allocations: 8 kB / 415.5 MB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.00991, allocations: 0 / 415.5 MB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.01011, allocations: 271.3 kB / 415.8 MB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.13e-05/0.01012, allocations: 19.84 kB / 415.8 MB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.01013, allocations: 4 kB / 415.8 MB, free: 9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.271e-05/0.01017, allocations: 8 kB / 415.8 MB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.208e-05/0.0102, allocations: 15.95 kB / 415.8 MB, free: 8.977 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.01021, allocations: 11.98 kB / 415.8 MB, free: 8.965 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.603e-05/0.01024, allocations: 87.22 kB / 415.9 MB, free: 8.879 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01024, allocations: 0 / 415.9 MB, free: 8.879 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001751/0.01041, allocations: 59.84 kB / 416 MB, free: 8.82 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * 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.0004538/0.01087, allocations: 0.8846 MB / 416.8 MB, free: 7.906 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001781/0.01104, allocations: 115.9 kB / 417 MB, free: 7.793 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01105, allocations: 0 / 417 MB, free: 7.793 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.049e-05/0.01112, allocations: 83.81 kB / 417 MB, free: 7.711 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.01127, allocations: 8 kB / 417.1 MB, free: 7.703 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.01258, allocations: 1.951 MB / 419 MB, free: 5.672 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.489e-05/0.01267, allocations: 133.7 kB / 419.1 MB, free: 5.52 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.655e-05/0.01273, allocations: 17.47 kB / 419.2 MB, free: 5.496 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.864e-05/0.0128, allocations: 68.48 kB / 419.2 MB, free: 5.43 MB / 394.7 MB Notification: Performance of SimCode: time 5.71e-07/0.0128, allocations: 0 / 419.2 MB, free: 5.43 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01289/0.02569, allocations: 3.302 MB / 422.5 MB, free: 2.117 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.544/6.569, allocations: 3.938 kB / 422.5 MB, free: 2.113 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.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: 8.477386930026114]