Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0007485/0.0007486, allocations: 175 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.146/1.146, allocations: 205.4 MB / 222.9 MB, free: 8.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006607/0.0006608, allocations: 86.44 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2698/0.2698, allocations: 43.56 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003441, allocations: 16 kB / 432.1 MB, free: 5.508 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09016/0.09052, allocations: 58.84 MB / 490.9 MB, free: 10.58 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.001889/0.09245, allocations: 1.733 MB / 492.7 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.09391, allocations: 1.209 MB / 493.9 MB, free: 7.609 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.083e-05/0.09398, allocations: 4 kB / 493.9 MB, free: 7.605 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.834e-05/0.09403, allocations: 23.72 kB / 493.9 MB, free: 7.582 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 8.842e-05/0.09412, allocations: 23.83 kB / 493.9 MB, free: 7.559 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003137/0.09444, allocations: 143.5 kB / 494.1 MB, free: 7.418 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.09461, allocations: 164.1 kB / 494.2 MB, free: 7.258 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.0948, allocations: 99.56 kB / 494.3 MB, free: 7.164 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.09491, allocations: 59.66 kB / 494.4 MB, free: 7.105 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.61e-05/0.09499, allocations: 59.58 kB / 494.4 MB, free: 7.047 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.09502, allocations: 8 kB / 494.4 MB, free: 7.039 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002318/0.09525, allocations: 131.9 kB / 494.6 MB, free: 6.91 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.343e-05/0.09529, allocations: 31.84 kB / 494.6 MB, free: 6.879 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.682e-05/0.09536, allocations: 97.25 kB / 494.7 MB, free: 6.777 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.09561, allocations: 215.6 kB / 494.9 MB, free: 6.566 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.09562, allocations: 0 / 494.9 MB, free: 6.566 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.09563, allocations: 0 / 494.9 MB, free: 6.566 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.09564, allocations: 0 / 494.9 MB, free: 6.566 MB / 378.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.0004763/0.09612, allocations: 491.3 kB / 495.4 MB, free: 6.039 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.09616, allocations: 11.97 kB / 495.4 MB, free: 6.027 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.546e-05/0.09626, allocations: 83.17 kB / 495.5 MB, free: 5.934 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006846/0.09696, allocations: 76.52 kB / 495.5 MB, free: 5.859 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.09709, allocations: 192.1 kB / 495.7 MB, free: 5.633 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.09711, allocations: 28.97 kB / 495.8 MB, free: 5.605 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.09715, allocations: 32.38 kB / 495.8 MB, free: 5.574 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.09752, allocations: 230.2 kB / 496 MB, free: 5.344 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.09754, allocations: 0 / 496 MB, free: 5.344 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.09756, allocations: 16 kB / 496 MB, free: 5.328 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.09757, allocations: 8 kB / 496 MB, free: 5.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002706/0.09785, allocations: 158.5 kB / 496.2 MB, free: 5.164 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008253/0.09868, allocations: 0.6555 MB / 496.9 MB, free: 4.461 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004636/0.09916, allocations: 247.3 kB / 497.1 MB, free: 4.211 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.09928, allocations: 65.3 kB / 497.2 MB, free: 4.145 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.09932, allocations: 4.234 kB / 497.2 MB, free: 4.141 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.09935, allocations: 38.8 kB / 497.2 MB, free: 4.094 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 1.172e-06/0.09935, allocations: 0 / 497.2 MB, free: 4.094 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004095/0.09977, allocations: 223.8 kB / 497.4 MB, free: 3.871 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.09981, allocations: 55.34 kB / 497.5 MB, free: 3.805 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.017e-05/0.09987, allocations: 105.8 kB / 497.6 MB, free: 3.691 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.0999, allocations: 29.7 kB / 497.6 MB, free: 3.656 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.554e-05/0.09997, allocations: 152.3 kB / 497.8 MB, free: 3.504 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.598e-05/0.1, allocations: 98.58 kB / 497.8 MB, free: 3.406 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.828e-06/0.1001, allocations: 4 kB / 497.9 MB, free: 3.402 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.1002, allocations: 318.8 kB / 498.2 MB, free: 3.082 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.735e-05/0.1003, allocations: 47.97 kB / 498.2 MB, free: 3.035 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.956e-05/0.1003, allocations: 44.92 kB / 498.3 MB, free: 2.992 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.1005, allocations: 121.3 kB / 498.4 MB, free: 2.871 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1006, allocations: 0 / 498.4 MB, free: 2.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002487/0.1008, allocations: 169.5 kB / 498.5 MB, free: 2.699 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.1008, allocations: 4 kB / 498.5 MB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1008, allocations: 0 / 498.5 MB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.1009, allocations: 3.938 kB / 498.5 MB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003241/0.1012, allocations: 111.8 kB / 498.7 MB, free: 2.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1012, allocations: 4 kB / 498.7 MB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.986e-05/0.1013, allocations: 11.91 kB / 498.7 MB, free: 2.566 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.1013, allocations: 4 kB / 498.7 MB, free: 2.562 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.871e-05/0.1014, allocations: 133.7 kB / 498.8 MB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.1014, allocations: 7.906 kB / 498.8 MB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.592e-05/0.1015, allocations: 33.06 kB / 498.8 MB, free: 2.379 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.1015, allocations: 3.938 kB / 498.8 MB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.1015, allocations: 3.984 kB / 498.9 MB, free: 2.371 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1015, allocations: 4.25 kB / 498.9 MB, free: 2.367 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002541/0.1018, allocations: 273.5 kB / 499.1 MB, free: 2.051 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1018, allocations: 4 kB / 499.1 MB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003271/0.1021, allocations: 107.9 kB / 499.2 MB, free: 1.941 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1021, allocations: 0 / 499.2 MB, free: 1.941 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.1021, allocations: 8 kB / 499.2 MB, free: 1.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.1021, allocations: 3.938 kB / 499.2 MB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1022, allocations: 0 / 499.2 MB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/0.1024, allocations: 275.5 kB / 499.5 MB, free: 1.645 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/0.1025, allocations: 92.95 kB / 499.6 MB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.1025, allocations: 4 kB / 499.6 MB, free: 1.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.099e-05/0.1026, allocations: 11.92 kB / 499.6 MB, free: 1.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.1027, allocations: 15.98 kB / 499.6 MB, free: 1.504 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.1027, allocations: 4 kB / 499.6 MB, free: 1.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.403e-05/0.1027, allocations: 91.2 kB / 499.7 MB, free: 1.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1027, allocations: 0 / 499.7 MB, free: 1.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000231/0.1029, allocations: 59.69 kB / 499.8 MB, free: 1.352 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006243/0.1036, allocations: 0.8685 MB / 0.4889 GB, free: 464 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002354/0.1038, allocations: 140.3 kB / 0.4891 GB, free: 324 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.1038, allocations: 4 kB / 0.4891 GB, free: 320 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.1039, allocations: 75.91 kB / 0.4891 GB, free: 244 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.1042, allocations: 11.94 kB / 0.4891 GB, free: 232 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1486/0.2527, allocations: 1.149 MB / 0.4903 GB, free: 42.15 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.2529, allocations: 0.7417 MB / 0.491 GB, free: 41.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.189e-05/0.253, allocations: 65.95 kB / 0.4911 GB, free: 41.45 MB / 378.7 MB Notification: Performance of SimCode: time 5.71e-07/0.253, allocations: 0.9688 kB / 0.4911 GB, free: 41.45 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.228/2.481, allocations: 2.383 MB / 0.4934 GB, free: 41.34 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches