Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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) 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(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001376/0.001376, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00142/0.00142, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.544/1.544, allocations: 227.4 MB / 247.5 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 63.55 kB / 307.7 MB, free: 0.6172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1198, allocations: 50.54 MB / 358.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003482/0.1234, allocations: 1.698 MB / 359.9 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004574/0.1238, allocations: 163.4 kB / 360.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.877e-05/0.1239, allocations: 0 / 360.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.496e-05/0.124, allocations: 7.875 kB / 360.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.1242, allocations: 11.92 kB / 360.1 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.1244, allocations: 47.83 kB / 360.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.1246, allocations: 43.92 kB / 360.2 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.1248, allocations: 47.89 kB / 360.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.663e-05/0.1248, allocations: 15.92 kB / 360.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.855e-05/0.1249, allocations: 27.86 kB / 360.3 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.1249, allocations: 4 kB / 360.3 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.397e-05/0.1249, allocations: 4 kB / 360.3 MB, free: 12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.225e-05/0.125, allocations: 15.92 kB / 360.3 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.095e-05/0.125, allocations: 43.73 kB / 360.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.1252, allocations: 63.73 kB / 360.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1252, allocations: 0 / 360.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1252, allocations: 0 / 360.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1252, allocations: 0 / 360.4 MB, free: 11.88 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005977/0.1258, allocations: 391.3 kB / 360.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.1259, allocations: 11.97 kB / 360.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.528e-05/0.1259, allocations: 8.844 kB / 360.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.1262, allocations: 204 kB / 361 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.1262, allocations: 8.375 kB / 361 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.1262, allocations: 8.375 kB / 361 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003715/0.1266, allocations: 162.3 kB / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1266, allocations: 192 / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.1266, allocations: 7.938 kB / 361.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1267, allocations: 4 kB / 361.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.1268, allocations: 31.98 kB / 361.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004617/0.1272, allocations: 373.7 kB / 361.6 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.1275, allocations: 115.8 kB / 361.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.1276, allocations: 54.62 kB / 361.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.1277, allocations: 8.141 kB / 361.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.1277, allocations: 38.5 kB / 361.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/0.1277, allocations: 4 kB / 361.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003542/0.1281, allocations: 117.5 kB / 361.9 MB, free: 10.15 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.371e-05/0.1282, allocations: 102.8 kB / 362 MB, free: 10.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.1283, allocations: 142.1 kB / 362.1 MB, free: 9.875 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.1284, allocations: 37.64 kB / 362.2 MB, free: 9.832 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/0.1284, allocations: 84.14 kB / 362.3 MB, free: 9.746 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.1285, allocations: 11.89 kB / 362.3 MB, free: 9.734 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.1285, allocations: 21.72 kB / 362.3 MB, free: 9.707 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1286, allocations: 318.8 kB / 362.6 MB, free: 9.387 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.105e-05/0.1287, allocations: 11.98 kB / 362.6 MB, free: 9.375 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.142e-05/0.1288, allocations: 71.72 kB / 362.7 MB, free: 9.277 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.129, allocations: 99.52 kB / 362.8 MB, free: 9.152 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.129, allocations: 0 / 362.8 MB, free: 9.152 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001989/0.1292, allocations: 113.4 kB / 362.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1292, allocations: 6.5 kB / 362.9 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1292, allocations: 4 kB / 362.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.1292, allocations: 4 kB / 362.9 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.569e-05/0.1293, allocations: 19.92 kB / 362.9 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.1293, allocations: 4 kB / 362.9 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.86e-05/0.1294, allocations: 4 kB / 362.9 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.1294, allocations: 4.469 kB / 362.9 MB, free: 8.992 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001155/0.1295, allocations: 141.6 kB / 363.1 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.1297, allocations: 85.42 kB / 363.2 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.834e-05/0.1297, allocations: 16.66 kB / 363.2 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1297, allocations: 3.984 kB / 363.2 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1297, allocations: 4 kB / 363.2 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.1297, allocations: 4 kB / 363.2 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.13, allocations: 181.6 kB / 363.4 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.13, allocations: 0 / 363.4 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.614e-05/0.1301, allocations: 23.98 kB / 363.4 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1301, allocations: 0 / 363.4 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.1301, allocations: 4 kB / 363.4 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1301, allocations: 3.938 kB / 363.4 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1301, allocations: 0 / 363.4 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003895/0.1305, allocations: 316.3 kB / 363.7 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.133e-05/0.1306, allocations: 93 kB / 363.8 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.1307, allocations: 7.938 kB / 363.8 MB, free: 8.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.874e-05/0.1308, allocations: 7.984 kB / 363.8 MB, free: 8.012 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.1308, allocations: 4 kB / 363.8 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.1308, allocations: 4 kB / 363.8 MB, free: 8.004 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.212e-05/0.1309, allocations: 107.2 kB / 363.9 MB, free: 7.898 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1309, allocations: 0 / 363.9 MB, free: 7.898 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.1312, allocations: 12 kB / 363.9 MB, free: 7.887 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * 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 (10): * Single equations (assignments): 10 * 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.0001256/0.1313, allocations: 107.2 kB / 364 MB, free: 7.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.1315, allocations: 67.84 kB / 364.1 MB, free: 7.703 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1315, allocations: 0 / 364.1 MB, free: 7.703 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.246e-05/0.1316, allocations: 8.562 kB / 364.1 MB, free: 7.695 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005157/0.1321, allocations: 44.47 kB / 364.2 MB, free: 7.652 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004208/0.1325, allocations: 225.6 kB / 364.4 MB, free: 7.395 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.1329, allocations: 0.7057 MB / 365.1 MB, free: 6.664 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.132e-05/0.1329, allocations: 11.44 kB / 365.1 MB, free: 6.652 MB / 302.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1329, allocations: 96 / 365.1 MB, free: 6.652 MB / 302.1 MB Notification: Performance of Templates: time 0.002605/0.1356, allocations: 0.92 MB / 366 MB, free: 5.734 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches