Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.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.Continuous_SteadyState,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_SteadyState",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.0008/0.0008001, 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.106/1.106, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0006785/0.0006785, allocations: 93.88 kB / 271.2 MB, free: 8.25 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.263/0.263, allocations: 43.56 MB / 363.1 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003303, allocations: 12 kB / 432.1 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09066/0.09101, allocations: 58.85 MB / 490.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.002826/0.09386, allocations: 2.855 MB / 493.8 MB, free: 7.684 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002132/0.09601, allocations: 1.517 MB / 495.3 MB, free: 6.156 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002361/0.09626, allocations: 19.88 kB / 495.3 MB, free: 6.137 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004058/0.09668, allocations: 103.2 kB / 495.4 MB, free: 6.035 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003574/0.09705, allocations: 158.9 kB / 495.6 MB, free: 5.879 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009016/0.09796, allocations: 423.3 kB / 496 MB, free: 5.465 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007237/0.09869, allocations: 0.7949 MB / 496.8 MB, free: 4.668 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003256/0.09903, allocations: 222.4 kB / 497 MB, free: 4.438 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003157/0.09935, allocations: 294.5 kB / 497.3 MB, free: 4.148 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003284/0.09969, allocations: 314.4 kB / 497.6 MB, free: 3.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.182e-05/0.09976, allocations: 28 kB / 497.6 MB, free: 3.812 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.537e-05/0.09983, allocations: 20 kB / 497.6 MB, free: 3.793 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001616/0.1, allocations: 147.4 kB / 497.8 MB, free: 3.648 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002203/0.1002, allocations: 299.8 kB / 498.1 MB, free: 3.348 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000408/0.1006, allocations: 0.53 MB / 498.6 MB, free: 2.816 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1007, allocations: 0 / 498.6 MB, free: 2.816 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1007, allocations: 0 / 498.6 MB, free: 2.816 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.1007, allocations: 0 / 498.6 MB, free: 2.816 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001853/0.1025, allocations: 1.055 MB / 499.7 MB, free: 1.707 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.1026, allocations: 12.03 kB / 499.7 MB, free: 1.695 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.268e-05/0.1027, allocations: 82.7 kB / 499.8 MB, free: 1.605 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.1028, allocations: 87.91 kB / 499.8 MB, free: 1.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007559/0.1035, allocations: 0.5662 MB / 0.4887 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/0.1036, allocations: 37.38 kB / 0.4887 GB, free: 0.875 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.925e-05/0.1037, allocations: 64.22 kB / 0.4888 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.1047, allocations: 0.6253 MB / 0.4894 GB, free: 136 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.1047, allocations: 4 kB / 0.4894 GB, free: 132 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.135e-05/0.1048, allocations: 19.94 kB / 0.4894 GB, free: 112 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.1048, allocations: 15.94 kB / 0.4894 GB, free: 96 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1554/0.2602, allocations: 498.8 kB / 0.4899 GB, free: 43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003105/0.2633, allocations: 2.635 MB / 0.4925 GB, free: 41.67 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.2644, allocations: 0.5908 MB / 0.493 GB, free: 41.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005358/0.265, allocations: 275.6 kB / 0.4933 GB, free: 41.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.48e-05/0.265, allocations: 6.688 kB / 0.4933 GB, free: 41.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.265, allocations: 40.94 kB / 0.4934 GB, free: 41.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 2.184e-06/0.2651, allocations: 4 kB / 0.4934 GB, free: 41.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.00226/0.2673, allocations: 1.205 MB / 0.4945 GB, free: 41.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.2674, allocations: 137.9 kB / 0.4947 GB, free: 41.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007812/0.2682, allocations: 0.6452 MB / 0.4953 GB, free: 40.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/0.2682, allocations: 36.36 kB / 0.4953 GB, free: 40.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.2684, allocations: 368.9 kB / 0.4957 GB, free: 40.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.2685, allocations: 173.1 kB / 0.4958 GB, free: 40.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/0.2686, allocations: 12.34 kB / 0.4959 GB, free: 40.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.539e-05/0.2686, allocations: 334.3 kB / 0.4962 GB, free: 40.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005791/0.2692, allocations: 275.3 kB / 0.4964 GB, free: 40.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006478/0.2699, allocations: 446.5 kB / 0.4969 GB, free: 40.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.271, allocations: 0.6991 MB / 0.4975 GB, free: 39.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2711, allocations: 2.406 kB / 0.4976 GB, free: 39.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001579/0.2726, allocations: 0.8595 MB / 0.4984 GB, free: 39.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.933e-05/0.2727, allocations: 225 kB / 0.4986 GB, free: 39.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.2728, allocations: 8.281 kB / 0.4986 GB, free: 39.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002332/0.273, allocations: 65.52 kB / 0.4987 GB, free: 39.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007874/0.2738, allocations: 205 kB / 0.4989 GB, free: 39.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008936/0.2747, allocations: 1.495 MB / 0.5003 GB, free: 38.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000461/0.2752, allocations: 91.72 kB / 0.5004 GB, free: 38.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.754e-05/0.2752, allocations: 28.41 kB / 0.5004 GB, free: 38.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.508e-06/0.2752, allocations: 2.781 kB / 0.5004 GB, free: 38.2 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0012/0.2764, allocations: 0.7334 MB / 0.5012 GB, free: 37.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2764, allocations: 5.625 kB / 0.5012 GB, free: 37.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001172/0.2766, allocations: 62.78 kB / 0.5012 GB, free: 37.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006986/0.2773, allocations: 198.4 kB / 0.5014 GB, free: 37.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007699/0.2781, allocations: 1.504 MB / 0.5029 GB, free: 36.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004329/0.2785, allocations: 82.67 kB / 0.503 GB, free: 36.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.55e-05/0.2785, allocations: 26.09 kB / 0.503 GB, free: 36.53 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002138/0.2788, allocations: 299.7 kB / 0.5033 GB, free: 36.28 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.2789, allocations: 73.09 kB / 0.5033 GB, free: 36.24 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.279, allocations: 90.58 kB / 0.5034 GB, free: 36.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.279, allocations: 5.438 kB / 0.5034 GB, free: 36.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.279, allocations: 0 / 0.5034 GB, free: 36.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.2791, allocations: 5.781 kB / 0.5034 GB, free: 36.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.2801, allocations: 0.8696 MB / 0.5043 GB, free: 35.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2801, allocations: 2.875 kB / 0.5043 GB, free: 35.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005761/0.2807, allocations: 114.2 kB / 0.5044 GB, free: 35.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.2807, allocations: 4 kB / 0.5044 GB, free: 35.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.957e-05/0.2807, allocations: 19.94 kB / 0.5044 GB, free: 35.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.2807, allocations: 0 / 0.5044 GB, free: 35.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2807, allocations: 2.844 kB / 0.5044 GB, free: 35.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/0.2824, allocations: 1.2 MB / 0.5056 GB, free: 35.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001723/0.2826, allocations: 195.6 kB / 0.5058 GB, free: 34.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.37e-05/0.2827, allocations: 14.41 kB / 0.5058 GB, free: 34.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004993/0.2832, allocations: 61.67 kB / 0.5059 GB, free: 34.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.2833, allocations: 47.34 kB / 0.5059 GB, free: 34.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/0.2833, allocations: 9.922 kB / 0.5059 GB, free: 34.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005163/0.2839, allocations: 458.3 kB / 0.5064 GB, free: 34.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2839, allocations: 4 kB / 0.5064 GB, free: 34.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006861/0.2846, allocations: 199.6 kB / 0.5065 GB, free: 34.66 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * 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 (44): * Single equations (assignments): 44 * 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.001819/0.2864, allocations: 1.76 MB / 0.5083 GB, free: 33.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002001/0.2884, allocations: 1.246 MB / 0.5095 GB, free: 33.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2884, allocations: 3.375 kB / 0.5095 GB, free: 33.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000541/0.289, allocations: 307.1 kB / 0.5098 GB, free: 32.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009907/0.29, allocations: 178.9 kB / 0.51 GB, free: 32.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006212/0.2962, allocations: 4.957 MB / 0.5148 GB, free: 30.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.2965, allocations: 0.9548 MB / 0.5157 GB, free: 29.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003243/0.2968, allocations: 262.2 kB / 0.516 GB, free: 29.54 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.2968, allocations: 0 / 0.516 GB, free: 29.54 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.118/7.415, allocations: 11.48 MB / 0.5272 GB, free: 28.47 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_SteadyState_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_SteadyState.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Continuous_SteadyState/Continuous_SteadyState.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches