Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.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.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Shapes_FixedShape",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.001104/0.001104, allocations: 175.1 kB / 16.72 MB, free: 5.055 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.312/1.312, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007111/0.0007111, allocations: 93.47 kB / 271.2 MB, free: 8.254 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.3416/0.3417, allocations: 43.55 MB / 363.1 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003419, allocations: 12 kB / 432.1 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1044, allocations: 58.85 MB / 490.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.00252/0.107, allocations: 2.007 MB / 492.9 MB, free: 8.543 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.1083, allocations: 0.7568 MB / 493.7 MB, free: 7.777 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001935/0.1085, allocations: 4 kB / 493.7 MB, free: 7.773 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001976/0.1087, allocations: 43.69 kB / 493.7 MB, free: 7.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002872/0.109, allocations: 87.45 kB / 493.8 MB, free: 7.645 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.1093, allocations: 71.89 kB / 493.9 MB, free: 7.574 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003823/0.1097, allocations: 306.8 kB / 494.2 MB, free: 7.273 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001996/0.1099, allocations: 97.05 kB / 494.3 MB, free: 7.18 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002298/0.1101, allocations: 107.6 kB / 494.4 MB, free: 7.074 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.1103, allocations: 131.4 kB / 494.5 MB, free: 6.945 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.006e-05/0.1104, allocations: 16 kB / 494.5 MB, free: 6.93 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.632e-05/0.1105, allocations: 16 kB / 494.5 MB, free: 6.914 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.995e-05/0.1105, allocations: 47.81 kB / 494.6 MB, free: 6.867 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.1107, allocations: 157 kB / 494.7 MB, free: 6.707 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.1109, allocations: 263.5 kB / 495 MB, free: 6.449 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.111, allocations: 0 / 495 MB, free: 6.449 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.111, allocations: 0 / 495 MB, free: 6.449 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.111, allocations: 4 kB / 495 MB, free: 6.445 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009793/0.112, allocations: 0.5652 MB / 495.6 MB, free: 5.832 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.112, allocations: 12.03 kB / 495.6 MB, free: 5.82 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.658e-05/0.1121, allocations: 62.72 kB / 495.6 MB, free: 5.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.317e-05/0.1122, allocations: 36.47 kB / 495.7 MB, free: 5.715 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.1125, allocations: 259.7 kB / 495.9 MB, free: 5.422 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.1125, allocations: 16.94 kB / 496 MB, free: 5.406 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.49e-05/0.1125, allocations: 20.38 kB / 496 MB, free: 5.387 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005196/0.1131, allocations: 256.9 kB / 496.2 MB, free: 5.133 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1131, allocations: 3.938 kB / 496.2 MB, free: 5.129 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.179e-05/0.1131, allocations: 12 kB / 496.2 MB, free: 5.117 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.1131, allocations: 4 kB / 496.2 MB, free: 5.113 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000511/0.1136, allocations: 246.1 kB / 496.5 MB, free: 4.875 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/0.1151, allocations: 0.8714 MB / 497.4 MB, free: 3.941 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005256/0.1156, allocations: 302.7 kB / 497.6 MB, free: 3.637 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002822/0.1159, allocations: 160.8 kB / 497.8 MB, free: 3.477 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.808e-05/0.1159, allocations: 7.938 kB / 497.8 MB, free: 3.469 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.116, allocations: 38.56 kB / 497.9 MB, free: 3.422 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 2.033e-06/0.116, allocations: 0 / 497.9 MB, free: 3.422 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.004372/0.1204, allocations: 1.269 MB / 499.1 MB, free: 2.059 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.1204, allocations: 51.41 kB / 499.2 MB, free: 1.996 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.1206, allocations: 213 kB / 499.4 MB, free: 1.773 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.1207, allocations: 29.7 kB / 499.4 MB, free: 1.738 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.811e-05/0.1208, allocations: 165.1 kB / 499.6 MB, free: 1.574 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.778e-05/0.1209, allocations: 102.5 kB / 499.7 MB, free: 1.473 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.587e-05/0.1209, allocations: 4 kB / 499.7 MB, free: 1.469 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.121, allocations: 338.8 kB / 0.4883 GB, free: 1.129 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.1212, allocations: 95.81 kB / 0.4884 GB, free: 1.035 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.1215, allocations: 129.8 kB / 0.4885 GB, free: 0.9023 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004584/0.1219, allocations: 247.3 kB / 0.4887 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.122, allocations: 0 / 0.4887 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001708/0.1237, allocations: 0.5518 MB / 0.4893 GB, free: 88 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.1237, allocations: 8 kB / 0.4893 GB, free: 80 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.1237, allocations: 3.938 kB / 0.4893 GB, free: 76 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.178/0.3017, allocations: 311.7 kB / 0.4896 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.3019, allocations: 33.59 kB / 0.4896 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006162/0.3081, allocations: 6.32 MB / 0.4958 GB, free: 37.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.3083, allocations: 31.23 kB / 0.4958 GB, free: 37.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.3084, allocations: 10.78 kB / 0.4958 GB, free: 37.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (15): * Single equations (assignments): 11 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001486/0.3085, allocations: 145.7 kB / 0.496 GB, free: 37.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.571e-05/0.3086, allocations: 25.86 kB / 0.496 GB, free: 37.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001702/0.3103, allocations: 0.5532 MB / 0.4965 GB, free: 37.13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3103, allocations: 3.375 kB / 0.4965 GB, free: 37.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.3103, allocations: 0 / 0.4965 GB, free: 37.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.3103, allocations: 9.188 kB / 0.4965 GB, free: 37.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000409/0.3108, allocations: 358.9 kB / 0.4969 GB, free: 36.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.3108, allocations: 1.078 kB / 0.4969 GB, free: 36.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.3109, allocations: 21.19 kB / 0.4969 GB, free: 36.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001483/0.3124, allocations: 319 kB / 0.4972 GB, free: 36.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.3124, allocations: 7.969 kB / 0.4972 GB, free: 36.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005813/0.3182, allocations: 6.354 MB / 0.5034 GB, free: 31.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3183, allocations: 3.938 kB / 0.5034 GB, free: 31.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/0.3199, allocations: 0.6255 MB / 0.504 GB, free: 31.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.824e-05/0.32, allocations: 112 kB / 0.5041 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.32, allocations: 5.406 kB / 0.5042 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.3202, allocations: 19.27 kB / 0.5042 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.3204, allocations: 30.27 kB / 0.5042 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.3204, allocations: 8.094 kB / 0.5042 GB, free: 31.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001436/0.3206, allocations: 158.9 kB / 0.5044 GB, free: 31.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.645e-06/0.3206, allocations: 0 / 0.5044 GB, free: 31.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005735/0.3211, allocations: 125.1 kB / 0.5045 GB, free: 31.37 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 (11): * Single equations (assignments): 7 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 4,2 4,2 4,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001879/0.323, allocations: 1.172 MB / 0.5056 GB, free: 30.63 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.3241, allocations: 0.7496 MB / 0.5064 GB, free: 30.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3241, allocations: 3.562 kB / 0.5064 GB, free: 30.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001089/0.3252, allocations: 0.7265 MB / 0.5071 GB, free: 29.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.3255, allocations: 19.19 kB / 0.5071 GB, free: 29.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003423/0.3289, allocations: 1.824 MB / 0.5089 GB, free: 28.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.3292, allocations: 0.7755 MB / 0.5096 GB, free: 28.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.3293, allocations: 76 kB / 0.5097 GB, free: 28 MB / 378.7 MB Notification: Performance of SimCode: time 1.303e-06/0.3293, allocations: 0 / 0.5097 GB, free: 28 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.495/3.825, allocations: 8.836 MB / 0.5183 GB, free: 27.27 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Shapes_FixedShape_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Shapes_FixedShape.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/FixedShape/FixedShape.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches