Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous.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,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous",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.0008151/0.0008152, allocations: 174.5 kB / 16.72 MB, free: 5.078 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.159/1.159, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0006856/0.0006858, allocations: 86.3 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 2.175/2.175, allocations: 43.55 MB / 363.1 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003084/0.0003084, allocations: 15.98 kB / 432.1 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08419/0.08451, allocations: 58.84 MB / 490.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.002844/0.08738, allocations: 2.831 MB / 493.7 MB, free: 7.719 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002229/0.08963, allocations: 1.513 MB / 495.3 MB, free: 6.199 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002513/0.08989, allocations: 23.88 kB / 495.3 MB, free: 6.176 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004184/0.09032, allocations: 99.2 kB / 495.4 MB, free: 6.078 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003657/0.0907, allocations: 162.9 kB / 495.5 MB, free: 5.918 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009334/0.09164, allocations: 427.3 kB / 496 MB, free: 5.5 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000813/0.09247, allocations: 0.8104 MB / 496.8 MB, free: 4.688 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003697/0.09285, allocations: 222.4 kB / 497 MB, free: 4.457 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003598/0.09322, allocations: 286.6 kB / 497.3 MB, free: 4.176 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003661/0.09359, allocations: 318.4 kB / 497.6 MB, free: 3.863 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.023e-05/0.09368, allocations: 20 kB / 497.6 MB, free: 3.844 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.47e-05/0.09375, allocations: 24 kB / 497.6 MB, free: 3.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001754/0.09394, allocations: 155.3 kB / 497.8 MB, free: 3.668 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002353/0.09418, allocations: 299.8 kB / 498.1 MB, free: 3.367 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004479/0.09464, allocations: 0.5339 MB / 498.6 MB, free: 2.832 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.09465, allocations: 4 kB / 498.6 MB, free: 2.828 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.09466, allocations: 0 / 498.6 MB, free: 2.828 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.09468, allocations: 0 / 498.6 MB, free: 2.828 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.001795/0.09648, allocations: 1.055 MB / 499.7 MB, free: 1.723 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.09652, allocations: 8.031 kB / 499.7 MB, free: 1.715 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.258e-05/0.09662, allocations: 86.7 kB / 499.7 MB, free: 1.621 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.09673, allocations: 91.81 kB / 499.8 MB, free: 1.531 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000761/0.0975, allocations: 0.5623 MB / 0.4887 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.627e-05/0.09755, allocations: 41.36 kB / 0.4887 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.889e-05/0.09764, allocations: 60.38 kB / 0.4888 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009882/0.09864, allocations: 0.6253 MB / 0.4894 GB, free: 152 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.09867, allocations: 7.844 kB / 0.4894 GB, free: 144 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.196e-05/0.09872, allocations: 24 kB / 0.4894 GB, free: 120 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.09873, allocations: 15.94 kB / 0.4894 GB, free: 104 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1504/0.2492, allocations: 490.2 kB / 0.4899 GB, free: 42.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00356/0.2528, allocations: 2.681 MB / 0.4925 GB, free: 41.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.2539, allocations: 0.5839 MB / 0.4931 GB, free: 41.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005357/0.2545, allocations: 275.9 kB / 0.4933 GB, free: 41.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.18e-05/0.2545, allocations: 6.469 kB / 0.4933 GB, free: 41.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.2546, allocations: 37.98 kB / 0.4934 GB, free: 41.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 1.883e-06/0.2546, allocations: 0 / 0.4934 GB, free: 41.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.00235/0.2569, allocations: 1.21 MB / 0.4946 GB, free: 41.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.257, allocations: 138.2 kB / 0.4947 GB, free: 40.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008523/0.2578, allocations: 0.6453 MB / 0.4953 GB, free: 40.81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/0.2579, allocations: 35.61 kB / 0.4954 GB, free: 40.78 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000207/0.2581, allocations: 362.5 kB / 0.4957 GB, free: 40.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.2582, allocations: 178.2 kB / 0.4959 GB, free: 40.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/0.2583, allocations: 9.562 kB / 0.4959 GB, free: 40.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.07e-05/0.2583, allocations: 331.3 kB / 0.4962 GB, free: 40.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005863/0.2589, allocations: 289.5 kB / 0.4965 GB, free: 40.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006361/0.2595, allocations: 452.5 kB / 0.4969 GB, free: 40.03 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.2607, allocations: 0.7094 MB / 0.4976 GB, free: 39.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2607, allocations: 1.469 kB / 0.4976 GB, free: 39.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001495/0.2623, allocations: 0.8353 MB / 0.4984 GB, free: 39.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.263e-05/0.2623, allocations: 227.8 kB / 0.4986 GB, free: 39.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.679e-06/0.2623, allocations: 7.469 kB / 0.4986 GB, free: 39.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.2624, allocations: 7.688 kB / 0.4986 GB, free: 39.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005978/0.263, allocations: 161 kB / 0.4988 GB, free: 39.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.263, allocations: 11.56 kB / 0.4988 GB, free: 39.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004769/0.2635, allocations: 97.86 kB / 0.4989 GB, free: 39.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-05/0.2635, allocations: 22.67 kB / 0.4989 GB, free: 39.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.849e-06/0.2635, allocations: 5.844 kB / 0.4989 GB, free: 39.42 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001175/0.2647, allocations: 0.7168 MB / 0.4996 GB, free: 39.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2647, allocations: 3.156 kB / 0.4996 GB, free: 39.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.362e-06/0.2647, allocations: 8.984 kB / 0.4996 GB, free: 39.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005324/0.2653, allocations: 153.6 kB / 0.4998 GB, free: 39.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.2653, allocations: 15.66 kB / 0.4998 GB, free: 39.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004507/0.2658, allocations: 90.45 kB / 0.4999 GB, free: 39.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.432e-05/0.2658, allocations: 20.53 kB / 0.4999 GB, free: 39.2 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 (77): * Single equations (assignments): 77 * 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 0.0002074/0.266, allocations: 295.3 kB / 0.5002 GB, free: 38.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.2661, allocations: 73.91 kB / 0.5003 GB, free: 38.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001376/0.2663, allocations: 92.7 kB / 0.5004 GB, free: 38.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.2663, allocations: 6.281 kB / 0.5004 GB, free: 38.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.2663, allocations: 0.5 kB / 0.5004 GB, free: 38.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.2663, allocations: 3.469 kB / 0.5004 GB, free: 38.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009584/0.2673, allocations: 0.8688 MB / 0.5012 GB, free: 38.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.2673, allocations: 3.734 kB / 0.5012 GB, free: 38.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005719/0.2679, allocations: 115.3 kB / 0.5013 GB, free: 38.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2679, allocations: 2.812 kB / 0.5013 GB, free: 38.33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.981e-05/0.2679, allocations: 17.42 kB / 0.5013 GB, free: 38.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.2679, allocations: 2.844 kB / 0.5013 GB, free: 38.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2679, allocations: 0 / 0.5013 GB, free: 38.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.2696, allocations: 1.208 MB / 0.5025 GB, free: 37.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.2698, allocations: 190.6 kB / 0.5027 GB, free: 37.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.528e-05/0.2699, allocations: 14.22 kB / 0.5027 GB, free: 37.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004853/0.2703, allocations: 66.73 kB / 0.5028 GB, free: 37.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.2705, allocations: 39.67 kB / 0.5028 GB, free: 37.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/0.2705, allocations: 13.19 kB / 0.5028 GB, free: 37.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000494/0.271, allocations: 462.8 kB / 0.5033 GB, free: 37.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.271, allocations: 0 / 0.5033 GB, free: 37.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006377/0.2716, allocations: 191.8 kB / 0.5035 GB, free: 37.34 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.002077/0.2737, allocations: 1.754 MB / 0.5052 GB, free: 36.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001992/0.2757, allocations: 1.016 MB / 0.5062 GB, free: 35.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.2758, allocations: 4.734 kB / 0.5062 GB, free: 35.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005724/0.2763, allocations: 307.3 kB / 0.5065 GB, free: 35.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.2775, allocations: 176.1 kB / 0.5066 GB, free: 35.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006369/0.2839, allocations: 4.956 MB / 0.5115 GB, free: 33.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.2842, allocations: 0.9501 MB / 0.5124 GB, free: 32.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003354/0.2845, allocations: 262.7 kB / 0.5127 GB, free: 32.45 MB / 378.7 MB Notification: Performance of SimCode: time 4.81e-07/0.2846, allocations: 0 / 0.5127 GB, free: 32.45 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 8.645/8.929, allocations: 10.11 MB / 0.5225 GB, free: 31.45 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Continuous/Continuous.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches