Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.Continuous_InitialOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007641/0.000764, allocations: 95.8 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00094/0.00094, allocations: 207.7 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.7 MB / 247.5 MB, free: 11.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1847/0.1847, allocations: 46.19 MB / 345.9 MB, free: 11.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002498/0.0002497, allocations: 8 kB / 420.2 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0994/0.09967, allocations: 63.56 MB / 483.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.003586/0.1033, allocations: 3.005 MB / 486.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002969/0.1063, allocations: 1.567 MB / 488.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004691/0.1068, allocations: 19.88 kB / 488.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000522/0.1073, allocations: 107.2 kB / 488.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006371/0.108, allocations: 159 kB / 488.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.1092, allocations: 0.4911 MB / 489.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001086/0.1103, allocations: 0.8771 MB / 489.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004037/0.1107, allocations: 226.4 kB / 490.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005406/0.1112, allocations: 294.5 kB / 490.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005427/0.1118, allocations: 362.1 kB / 490.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.1119, allocations: 24 kB / 490.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002692/0.1122, allocations: 147.7 kB / 491 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001922/0.1124, allocations: 151.3 kB / 491.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002954/0.1127, allocations: 315.6 kB / 491.4 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000622/0.1133, allocations: 0.6275 MB / 492.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.1133, allocations: 0 / 492.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1133, allocations: 0 / 492.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.739e-05/0.1134, allocations: 0 / 492.1 MB, free: 11.79 MB / 366.1 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.002151/0.1155, allocations: 1.063 MB / 493.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.1156, allocations: 9.953 kB / 493.1 MB, free: 10.67 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002554/0.1158, allocations: 99.89 kB / 493.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008742/0.1167, allocations: 0.5623 MB / 493.8 MB, free: 9.973 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.177e-05/0.1168, allocations: 37.38 kB / 493.8 MB, free: 9.938 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.892e-05/0.1169, allocations: 60.28 kB / 493.9 MB, free: 9.879 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.1181, allocations: 0.638 MB / 494.5 MB, free: 9.184 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.1181, allocations: 4 kB / 494.5 MB, free: 9.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.263e-05/0.1181, allocations: 20 kB / 494.5 MB, free: 9.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.1182, allocations: 15.98 kB / 494.6 MB, free: 9.145 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.1193, allocations: 0.49 MB / 495.1 MB, free: 8.652 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003484/0.1228, allocations: 2.675 MB / 497.7 MB, free: 5.875 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.1239, allocations: 0.5522 MB / 498.3 MB, free: 5.301 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006055/0.1245, allocations: 286.9 kB / 498.6 MB, free: 5.012 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/0.1246, allocations: 4.234 kB / 498.6 MB, free: 5.008 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.1246, allocations: 46.78 kB / 498.6 MB, free: 4.953 MB / 366.1 MB Notification: Performance of pre-optimization done (n=45): time 1.833e-06/0.1246, allocations: 0 / 498.6 MB, free: 4.953 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.002665/0.1273, allocations: 1.213 MB / 499.8 MB, free: 3.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.605e-05/0.1274, allocations: 162.2 kB / 500 MB, free: 3.535 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000907/0.1283, allocations: 0.6645 MB / 0.4889 GB, free: 2.859 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.718e-05/0.1283, allocations: 37.7 kB / 0.4889 GB, free: 2.816 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002643/0.1286, allocations: 348.8 kB / 0.4893 GB, free: 2.469 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.1288, allocations: 189.3 kB / 0.4895 GB, free: 2.281 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.831e-05/0.1289, allocations: 61.67 kB / 0.4895 GB, free: 2.215 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.129, allocations: 337.9 kB / 0.4898 GB, free: 1.879 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007003/0.1297, allocations: 297.1 kB / 0.4901 GB, free: 1.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007844/0.1305, allocations: 473.2 kB / 0.4906 GB, free: 1.059 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.132, allocations: 0.7591 MB / 0.4913 GB, free: 244 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.132, allocations: 0 / 0.4913 GB, free: 244 kB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001801/0.1338, allocations: 0.8681 MB / 0.4922 GB, free: 15.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001394/0.134, allocations: 228.1 kB / 0.4924 GB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.134, allocations: 7.938 kB / 0.4924 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.134, allocations: 11.94 kB / 0.4924 GB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009319/0.1349, allocations: 207.7 kB / 0.4926 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.837e-05/0.135, allocations: 11.98 kB / 0.4926 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006046/0.1356, allocations: 99.52 kB / 0.4927 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.357e-05/0.1356, allocations: 28 kB / 0.4927 GB, free: 14.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.296e-06/0.1357, allocations: 4 kB / 0.4927 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001527/0.1372, allocations: 0.7483 MB / 0.4935 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1372, allocations: 4 kB / 0.4935 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.1372, allocations: 8 kB / 0.4935 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008532/0.1381, allocations: 204.2 kB / 0.4937 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.1381, allocations: 8 kB / 0.4937 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000537/0.1386, allocations: 91.56 kB / 0.4938 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.584e-05/0.1387, allocations: 24 kB / 0.4938 GB, free: 13.64 MB / 382.1 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 (78): * Single equations (assignments): 77 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003127/0.139, allocations: 284.9 kB / 0.4941 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.1392, allocations: 79.05 kB / 0.4941 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002064/0.1394, allocations: 90.91 kB / 0.4942 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.1394, allocations: 4 kB / 0.4942 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.1394, allocations: 0 / 0.4942 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.1394, allocations: 11.98 kB / 0.4942 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/0.1415, allocations: 1.287 MB / 0.4955 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.1415, allocations: 4 kB / 0.4955 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006768/0.1422, allocations: 119.9 kB / 0.4956 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.1422, allocations: 0 / 0.4956 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.744e-05/0.1423, allocations: 16 kB / 0.4956 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.301e-06/0.1423, allocations: 7.938 kB / 0.4956 GB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1423, allocations: 0 / 0.4956 GB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/0.1444, allocations: 1.245 MB / 0.4969 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002635/0.1447, allocations: 192.2 kB / 0.497 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.956e-05/0.1448, allocations: 19.98 kB / 0.4971 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000571/0.1454, allocations: 71.81 kB / 0.4971 GB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.1455, allocations: 39.95 kB / 0.4972 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/0.1456, allocations: 11.98 kB / 0.4972 GB, free: 10.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006285/0.1462, allocations: 466.9 kB / 0.4976 GB, free: 9.598 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1462, allocations: 0 / 0.4976 GB, free: 9.598 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008254/0.1471, allocations: 216 kB / 0.4978 GB, free: 9.387 MB / 382.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003218/0.1474, allocations: 143.6 kB / 0.498 GB, free: 9.234 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002242/0.1496, allocations: 1.06 MB / 0.499 GB, free: 8.176 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1497, allocations: 0 / 0.499 GB, free: 8.176 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006933/0.1504, allocations: 315.8 kB / 0.4993 GB, free: 7.867 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.1516, allocations: 185.2 kB / 0.4995 GB, free: 7.688 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00303/0.1546, allocations: 1.878 MB / 0.5013 GB, free: 5.758 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005301/0.1552, allocations: 0.9543 MB / 0.5022 GB, free: 4.777 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.1554, allocations: 47.38 kB / 0.5023 GB, free: 4.73 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1554, allocations: 0 / 0.5023 GB, free: 4.73 MB / 382.1 MB Notification: Performance of Templates: time 0.1859/0.3413, allocations: 8.985 MB / 0.5111 GB, free: 37.12 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_InitialOutput/Continuous_InitialOutput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches