Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.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_InitialState,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_InitialState",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.0007696/0.0007697, allocations: 173.5 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.11/1.11, 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.0006691/0.0006692, allocations: 84.86 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.2568/0.2568, allocations: 43.56 MB / 363.1 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003174/0.0003178, allocations: 12 kB / 432.1 MB, free: 5.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08498/0.08532, allocations: 58.84 MB / 490.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.003052/0.08841, allocations: 2.859 MB / 493.8 MB, free: 7.688 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002482/0.09092, allocations: 1.517 MB / 495.3 MB, free: 6.16 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003987/0.09134, allocations: 19.88 kB / 495.3 MB, free: 6.141 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004366/0.09179, allocations: 107.2 kB / 495.4 MB, free: 6.035 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004779/0.09229, allocations: 163 kB / 495.6 MB, free: 5.875 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.09331, allocations: 419.3 kB / 496 MB, free: 5.465 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009247/0.09425, allocations: 0.8066 MB / 496.8 MB, free: 4.656 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000374/0.09463, allocations: 226.4 kB / 497 MB, free: 4.422 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004493/0.09509, allocations: 294.5 kB / 497.3 MB, free: 4.133 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003515/0.09545, allocations: 314.4 kB / 497.6 MB, free: 3.824 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.219e-05/0.09552, allocations: 20 kB / 497.6 MB, free: 3.805 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.45e-05/0.09559, allocations: 24 kB / 497.6 MB, free: 3.781 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.09575, allocations: 147.4 kB / 497.8 MB, free: 3.637 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002242/0.09598, allocations: 307.8 kB / 498.1 MB, free: 3.328 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004136/0.0964, allocations: 0.53 MB / 498.6 MB, free: 2.797 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.09641, allocations: 0 / 498.6 MB, free: 2.797 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.09642, allocations: 4 kB / 498.6 MB, free: 2.793 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.09643, allocations: 0 / 498.6 MB, free: 2.793 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.001839/0.09827, allocations: 1.059 MB / 499.7 MB, free: 1.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.09831, allocations: 8.031 kB / 499.7 MB, free: 1.672 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.261e-05/0.09841, allocations: 78.72 kB / 499.8 MB, free: 1.586 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.09853, allocations: 95.89 kB / 499.9 MB, free: 1.492 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007613/0.09929, allocations: 0.5584 MB / 0.4887 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.09934, allocations: 41.31 kB / 0.4887 GB, free: 0.8516 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-05/0.09942, allocations: 60.28 kB / 0.4888 GB, free: 0.793 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009901/0.1004, allocations: 0.6292 MB / 0.4894 GB, free: 112 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.1004, allocations: 7.938 kB / 0.4894 GB, free: 104 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.339e-05/0.1005, allocations: 20 kB / 0.4894 GB, free: 84 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.1005, allocations: 15.94 kB / 0.4894 GB, free: 68 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1448/0.2453, allocations: 493.3 kB / 0.4899 GB, free: 42.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003316/0.2486, allocations: 2.676 MB / 0.4925 GB, free: 41.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.2497, allocations: 0.5945 MB / 0.4931 GB, free: 41.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005294/0.2503, allocations: 272.4 kB / 0.4934 GB, free: 41.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.855e-05/0.2503, allocations: 5.828 kB / 0.4934 GB, free: 41.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.855e-05/0.2503, allocations: 38.98 kB / 0.4934 GB, free: 41.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 2.384e-06/0.2504, allocations: 0 / 0.4934 GB, free: 41.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.002303/0.2527, allocations: 1.212 MB / 0.4946 GB, free: 41.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.2527, allocations: 133.7 kB / 0.4947 GB, free: 40.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008044/0.2535, allocations: 0.6511 MB / 0.4954 GB, free: 40.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/0.2536, allocations: 35.67 kB / 0.4954 GB, free: 40.76 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.2538, allocations: 366.1 kB / 0.4957 GB, free: 40.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.2539, allocations: 171 kB / 0.4959 GB, free: 40.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/0.2539, allocations: 13.16 kB / 0.4959 GB, free: 40.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.196e-05/0.254, allocations: 330.4 kB / 0.4962 GB, free: 40.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006224/0.2546, allocations: 286.1 kB / 0.4965 GB, free: 40.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000641/0.2553, allocations: 453.8 kB / 0.4969 GB, free: 40.01 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.2564, allocations: 0.7087 MB / 0.4976 GB, free: 39.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.2564, allocations: 1.375 kB / 0.4976 GB, free: 39.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001483/0.2579, allocations: 0.8374 MB / 0.4984 GB, free: 39.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.132e-05/0.258, allocations: 220.7 kB / 0.4987 GB, free: 39.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.258, allocations: 7.531 kB / 0.4987 GB, free: 39.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.2581, allocations: 8.375 kB / 0.4987 GB, free: 39.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006134/0.2587, allocations: 164.8 kB / 0.4988 GB, free: 39.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.2587, allocations: 11.28 kB / 0.4988 GB, free: 39.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004737/0.2592, allocations: 92.89 kB / 0.4989 GB, free: 39.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/0.2592, allocations: 28.94 kB / 0.499 GB, free: 39.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.502e-06/0.2592, allocations: 5.875 kB / 0.499 GB, free: 39.4 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001191/0.2604, allocations: 0.7133 MB / 0.4997 GB, free: 39.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.2604, allocations: 2.781 kB / 0.4997 GB, free: 39.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.833e-06/0.2605, allocations: 7.906 kB / 0.4997 GB, free: 39.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005266/0.261, allocations: 155 kB / 0.4998 GB, free: 39.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.261, allocations: 8.406 kB / 0.4998 GB, free: 39.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004354/0.2614, allocations: 88.61 kB / 0.4999 GB, free: 39.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.2615, allocations: 24.25 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.0002093/0.2617, allocations: 297 kB / 0.5002 GB, free: 38.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.2618, allocations: 75 kB / 0.5003 GB, free: 38.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.262, allocations: 91.36 kB / 0.5004 GB, free: 38.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.262, allocations: 2.781 kB / 0.5004 GB, free: 38.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.262, allocations: 3.312 kB / 0.5004 GB, free: 38.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.262, allocations: 3.422 kB / 0.5004 GB, free: 38.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009811/0.263, allocations: 0.8704 MB / 0.5012 GB, free: 38.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.263, allocations: 2.719 kB / 0.5012 GB, free: 38.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000577/0.2636, allocations: 115.3 kB / 0.5013 GB, free: 38.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.2636, allocations: 6.016 kB / 0.5014 GB, free: 38.33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.004e-05/0.2636, allocations: 13.88 kB / 0.5014 GB, free: 38.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.2637, allocations: 0 / 0.5014 GB, free: 38.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2637, allocations: 2.969 kB / 0.5014 GB, free: 38.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/0.2653, allocations: 1.207 MB / 0.5025 GB, free: 37.74 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/0.2655, allocations: 196.3 kB / 0.5027 GB, free: 37.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.467e-05/0.2655, allocations: 12.64 kB / 0.5027 GB, free: 37.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004898/0.266, allocations: 62.23 kB / 0.5028 GB, free: 37.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.2662, allocations: 43.81 kB / 0.5028 GB, free: 37.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/0.2662, allocations: 10.97 kB / 0.5029 GB, free: 37.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004846/0.2667, allocations: 464.2 kB / 0.5033 GB, free: 37.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2667, allocations: 0 / 0.5033 GB, free: 37.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006721/0.2674, allocations: 194.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.001906/0.2693, allocations: 1.758 MB / 0.5052 GB, free: 36.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001696/0.271, allocations: 1.012 MB / 0.5062 GB, free: 35.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.271, allocations: 0.5469 kB / 0.5062 GB, free: 35.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005196/0.2715, allocations: 310.7 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.0009664/0.2725, allocations: 177.9 kB / 0.5067 GB, free: 35.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006309/0.2788, 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.0002861/0.2791, allocations: 0.9504 MB / 0.5124 GB, free: 32.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003306/0.2795, allocations: 262.3 kB / 0.5127 GB, free: 32.45 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.2795, allocations: 0 / 0.5127 GB, free: 32.45 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.713/5.993, allocations: 10.11 MB / 0.5225 GB, free: 31.46 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_InitialState_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_InitialState.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Continuous_InitialState/Continuous_InitialState.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches