Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.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: translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput") translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002272/0.002277, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.045/2.045, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.00113/0.001129, allocations: 82.66 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3184/0.3184, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.417e-05/3.434e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1146, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4793/0.594, allocations: 96.09 MB / 0.5666 GB, free: 7.609 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.5943, allocations: 76.61 kB / 0.5667 GB, free: 7.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1487/0.743, allocations: 29.36 MB / 0.5954 GB, free: 14.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.743, allocations: 4 kB / 0.5954 GB, free: 14.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001156/0.7432, allocations: 24.44 kB / 0.5954 GB, free: 14.71 MB / 410.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.003155/0.7463, allocations: 0.9593 MB / 0.5963 GB, free: 13.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/0.7464, allocations: 12.03 kB / 0.5963 GB, free: 13.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004017/0.7468, allocations: 90.88 kB / 0.5964 GB, free: 13.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/0.7488, allocations: 0.5814 MB / 0.597 GB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.824e-05/0.7489, allocations: 41.39 kB / 0.597 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/0.7491, allocations: 63.45 kB / 0.5971 GB, free: 13.03 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.7505, allocations: 0.5464 MB / 0.5976 GB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.072e-05/0.7506, allocations: 4 kB / 0.5976 GB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.872e-05/0.7507, allocations: 22.88 kB / 0.5977 GB, free: 12.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.7507, allocations: 12 kB / 0.5977 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.7518, allocations: 366.7 kB / 0.598 GB, free: 12.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00662/0.7585, allocations: 2.667 MB / 0.6006 GB, free: 9.918 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.7597, allocations: 427.5 kB / 0.601 GB, free: 9.602 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005733/0.7603, allocations: 206.2 kB / 0.6012 GB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.15e-05/0.7604, allocations: 12.16 kB / 0.6012 GB, free: 9.449 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/0.7605, allocations: 42.36 kB / 0.6013 GB, free: 9.402 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 3.306e-06/0.7605, allocations: 0 / 0.6013 GB, free: 9.402 MB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.002434/0.7629, allocations: 0.8026 MB / 0.6021 GB, free: 8.707 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.484e-05/0.7631, allocations: 122.4 kB / 0.6022 GB, free: 8.566 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.7642, allocations: 0.5434 MB / 0.6027 GB, free: 8.129 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001499/0.7644, allocations: 37.39 kB / 0.6028 GB, free: 8.094 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003183/0.7647, allocations: 368 kB / 0.6031 GB, free: 7.852 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002804/0.765, allocations: 176.7 kB / 0.6033 GB, free: 7.699 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.163e-05/0.7651, allocations: 10.69 kB / 0.6033 GB, free: 7.699 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.7653, allocations: 337.8 kB / 0.6036 GB, free: 7.371 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006355/0.7659, allocations: 209 kB / 0.6038 GB, free: 7.238 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007311/0.7667, allocations: 359.7 kB / 0.6041 GB, free: 6.906 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007101/0.7674, allocations: 253.1 kB / 0.6044 GB, free: 6.738 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.7674, allocations: 0 / 0.6044 GB, free: 6.738 MB / 410.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001735/0.7692, allocations: 0.6326 MB / 0.605 GB, free: 6.258 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008135/0.77, allocations: 1.749 MB / 0.6067 GB, free: 4.406 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/0.7701, allocations: 4 kB / 0.6067 GB, free: 4.402 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.374e-05/0.7701, allocations: 11.95 kB / 0.6067 GB, free: 4.391 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002105/0.7722, allocations: 210.8 kB / 0.6069 GB, free: 4.191 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.569e-05/0.7723, allocations: 11.98 kB / 0.6069 GB, free: 4.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.7735, allocations: 90.33 kB / 0.607 GB, free: 4.098 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.7736, allocations: 26.94 kB / 0.6071 GB, free: 4.078 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.7736, allocations: 4 kB / 0.6071 GB, free: 4.074 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001659/0.7753, allocations: 0.5829 MB / 0.6076 GB, free: 3.656 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.7753, allocations: 4 kB / 0.6076 GB, free: 3.652 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.7754, allocations: 8 kB / 0.6076 GB, free: 3.645 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001941/0.7773, allocations: 207.1 kB / 0.6078 GB, free: 3.449 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.245e-05/0.7774, allocations: 11.98 kB / 0.6078 GB, free: 3.438 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007357/0.7781, allocations: 73.94 kB / 0.6079 GB, free: 3.375 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.7783, allocations: 23.62 kB / 0.6079 GB, free: 3.355 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 1 * 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.0002477/0.7785, allocations: 142.4 kB / 0.6081 GB, free: 3.227 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002985/0.7788, allocations: 75.06 kB / 0.6081 GB, free: 3.152 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000295/0.7791, allocations: 94.84 kB / 0.6082 GB, free: 3.102 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.7792, allocations: 4 kB / 0.6082 GB, free: 3.098 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/0.7792, allocations: 4 kB / 0.6082 GB, free: 3.094 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.7792, allocations: 11.92 kB / 0.6083 GB, free: 3.082 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002892/0.7821, allocations: 1.198 MB / 0.6094 GB, free: 2.086 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/0.7822, allocations: 4 kB / 0.6094 GB, free: 2.082 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001437/0.7836, allocations: 115.8 kB / 0.6095 GB, free: 1.973 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.777e-05/0.7837, allocations: 4 kB / 0.6095 GB, free: 1.969 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/0.7838, allocations: 15.23 kB / 0.6096 GB, free: 1.961 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.388e-06/0.7838, allocations: 4 kB / 0.6096 GB, free: 1.957 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.7838, allocations: 0 / 0.6096 GB, free: 1.957 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002209/0.786, allocations: 1.04 MB / 0.6106 GB, free: 1.082 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004927/0.7866, allocations: 204.2 kB / 0.6108 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001556/0.7868, allocations: 18.42 kB / 0.6108 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.7878, allocations: 55.58 kB / 0.6108 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002041/0.7881, allocations: 38.62 kB / 0.6109 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.527e-05/0.7881, allocations: 15.36 kB / 0.6109 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008585/0.789, allocations: 434.8 kB / 0.6113 GB, free: 472 kB / 410.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.789, allocations: 0 / 0.6113 GB, free: 472 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.001427/0.7905, allocations: 233.2 kB / 0.6115 GB, free: 264 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 46 * 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.0004768/0.791, allocations: 155.7 kB / 0.6117 GB, free: 104 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002457/0.7935, allocations: 0.8014 MB / 0.6125 GB, free: 15.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.7935, allocations: 5.812 kB / 0.6125 GB, free: 15.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007055/0.7942, allocations: 229.8 kB / 0.6127 GB, free: 15.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/0.7959, allocations: 173.5 kB / 0.6129 GB, free: 15.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003673/0.7996, allocations: 1.255 MB / 0.6141 GB, free: 14.06 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007422/0.8004, allocations: 0.9724 MB / 0.615 GB, free: 13.06 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005051/0.801, allocations: 47.44 kB / 0.6151 GB, free: 13.02 MB / 426.7 MB Notification: Performance of SimCode: time 1.322e-06/0.801, allocations: 0 / 0.6151 GB, free: 13.02 MB / 426.7 MB Notification: Performance of Templates: time 0.02309/0.8241, allocations: 8.954 MB / 0.6238 GB, free: 4.188 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Continuous_InitialOutput/Continuous_InitialOutput.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches