Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.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_InitialState,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_InitialState") translateModel(ModelicaTest.Blocks.Continuous_InitialState,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_InitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008994/0.0008996, allocations: 93.67 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00107/0.00107, allocations: 204.9 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.7 MB / 247.5 MB, free: 11.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1867/0.1867, allocations: 46.18 MB / 345.9 MB, free: 11.35 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000259/0.0002591, allocations: 8.375 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0984/0.09867, allocations: 63.57 MB / 483.7 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.003695/0.1024, allocations: 2.986 MB / 486.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002784/0.1052, allocations: 1.567 MB / 488.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004447/0.1057, allocations: 19.88 kB / 488.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000486/0.1062, allocations: 111.2 kB / 488.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005174/0.1067, allocations: 155.1 kB / 488.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.108, allocations: 494.8 kB / 489 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001068/0.109, allocations: 0.8576 MB / 489.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003785/0.1094, allocations: 218.4 kB / 490.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004933/0.1099, allocations: 290.4 kB / 490.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004949/0.1104, allocations: 358.1 kB / 490.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.797e-05/0.1106, allocations: 20 kB / 490.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.1107, allocations: 24 kB / 490.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001806/0.1109, allocations: 155.3 kB / 490.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002645/0.1111, allocations: 315.5 kB / 491.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005092/0.1116, allocations: 0.5339 MB / 491.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1116, allocations: 0 / 491.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1117, allocations: 0 / 491.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.792e-05/0.1117, allocations: 4 kB / 491.8 MB, free: 12.02 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.002099/0.1138, allocations: 1.051 MB / 492.8 MB, free: 10.92 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1138, allocations: 9.953 kB / 492.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003148/0.1142, allocations: 99.89 kB / 492.9 MB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.1152, allocations: 0.5584 MB / 493.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.822e-05/0.1153, allocations: 37.38 kB / 493.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.1154, allocations: 60.28 kB / 493.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.1166, allocations: 0.638 MB / 494.2 MB, free: 9.426 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.1166, allocations: 4 kB / 494.2 MB, free: 9.422 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.195e-05/0.1167, allocations: 20 kB / 494.3 MB, free: 9.402 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.1167, allocations: 15.98 kB / 494.3 MB, free: 9.387 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.1179, allocations: 0.4899 MB / 494.8 MB, free: 8.895 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003661/0.1215, allocations: 2.694 MB / 497.5 MB, free: 6.102 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.1227, allocations: 0.5819 MB / 498 MB, free: 5.492 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006031/0.1234, allocations: 266.4 kB / 498.3 MB, free: 5.223 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.885e-05/0.1234, allocations: 4 kB / 498.3 MB, free: 5.219 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.1234, allocations: 42.59 kB / 498.4 MB, free: 5.168 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.345e-06/0.1235, allocations: 4 kB / 498.4 MB, free: 5.164 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002629/0.1261, allocations: 1.213 MB / 499.6 MB, free: 3.941 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.025e-05/0.1262, allocations: 170.1 kB / 499.7 MB, free: 3.738 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00086/0.1271, allocations: 0.6528 MB / 0.4887 GB, free: 3.074 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.112e-05/0.1271, allocations: 33.7 kB / 0.4887 GB, free: 3.035 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002676/0.1274, allocations: 368 kB / 0.489 GB, free: 2.668 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.1276, allocations: 169.5 kB / 0.4892 GB, free: 2.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.404e-05/0.1276, allocations: 65.67 kB / 0.4893 GB, free: 2.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1278, allocations: 337.9 kB / 0.4896 GB, free: 2.094 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006616/0.1284, allocations: 285.1 kB / 0.4899 GB, free: 1.816 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007593/0.1292, allocations: 453.5 kB / 0.4903 GB, free: 1.301 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/0.1306, allocations: 0.7249 MB / 0.491 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1306, allocations: 0 / 0.491 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001698/0.1323, allocations: 0.8417 MB / 0.4918 GB, free: 15.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001512/0.1325, allocations: 225.2 kB / 0.492 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.1325, allocations: 4 kB / 0.492 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.1325, allocations: 15.94 kB / 0.4921 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006929/0.1332, allocations: 163.8 kB / 0.4922 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.1333, allocations: 7.938 kB / 0.4922 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000571/0.1338, allocations: 91.62 kB / 0.4923 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/0.1339, allocations: 24 kB / 0.4923 GB, free: 15.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/0.1339, allocations: 7.828 kB / 0.4923 GB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001464/0.1354, allocations: 0.7139 MB / 0.493 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.1354, allocations: 7.984 kB / 0.493 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.417e-06/0.1354, allocations: 8 kB / 0.4931 GB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000625/0.136, allocations: 160.3 kB / 0.4932 GB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.1361, allocations: 11.92 kB / 0.4932 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005136/0.1366, allocations: 83.64 kB / 0.4933 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.176e-05/0.1366, allocations: 24 kB / 0.4933 GB, free: 14.07 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 (77): * Single equations (assignments): 77 * 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 prepare postOptimizeDAE: time 0.0003143/0.137, allocations: 293.1 kB / 0.4936 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.1371, allocations: 79.06 kB / 0.4937 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/0.1373, allocations: 86.2 kB / 0.4938 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.1373, allocations: 8 kB / 0.4938 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.1373, allocations: 0 / 0.4938 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.1374, allocations: 4 kB / 0.4938 GB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.1386, allocations: 0.8609 MB / 0.4946 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1387, allocations: 0 / 0.4946 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000666/0.1393, allocations: 119.9 kB / 0.4947 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.1394, allocations: 0 / 0.4947 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.631e-05/0.1394, allocations: 12 kB / 0.4947 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.1394, allocations: 3.938 kB / 0.4947 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1394, allocations: 4 kB / 0.4947 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/0.1415, allocations: 1.207 MB / 0.4959 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002419/0.1418, allocations: 204.2 kB / 0.4961 GB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.393e-05/0.1419, allocations: 12 kB / 0.4961 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005808/0.1425, allocations: 67.88 kB / 0.4962 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.1426, allocations: 35.94 kB / 0.4962 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/0.1426, allocations: 16 kB / 0.4962 GB, free: 10.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006421/0.1433, allocations: 463 kB / 0.4967 GB, free: 10.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1433, allocations: 0 / 0.4967 GB, free: 10.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007598/0.1441, allocations: 188 kB / 0.4969 GB, free: 10.34 MB / 382.1 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 (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.0001464/0.1442, allocations: 124.5 kB / 0.497 GB, free: 10.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002217/0.1464, allocations: 1.013 MB / 0.498 GB, free: 9.195 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1465, allocations: 0 / 0.498 GB, free: 9.195 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006729/0.1471, allocations: 307.7 kB / 0.4983 GB, free: 8.895 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.1483, allocations: 181.1 kB / 0.4984 GB, free: 8.719 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/0.1514, allocations: 1.887 MB / 0.5003 GB, free: 6.789 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005315/0.152, allocations: 0.9458 MB / 0.5012 GB, free: 5.816 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/0.1522, allocations: 43.44 kB / 0.5012 GB, free: 5.773 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1522, allocations: 4 kB / 0.5012 GB, free: 5.77 MB / 382.1 MB Notification: Performance of Templates: time 0.1934/0.3456, allocations: 8.609 MB / 0.5097 GB, free: 36.98 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_InitialState/Continuous_InitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches