Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001181/0.001181, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001206/0.001206, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001467, allocations: 65.02 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1204, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003086/0.1235, allocations: 1.564 MB / 360.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000966/0.1245, allocations: 0.5298 MB / 361 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.213e-05/0.1246, allocations: 0 / 361 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.77e-05/0.1247, allocations: 7.922 kB / 361 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.1248, allocations: 15.92 kB / 361 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003352/0.1252, allocations: 47.83 kB / 361.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.1253, allocations: 43.84 kB / 361.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.1254, allocations: 15.97 kB / 361.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.1255, allocations: 27.91 kB / 361.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.308e-05/0.1256, allocations: 19.86 kB / 361.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.1256, allocations: 4 kB / 361.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.517e-05/0.1257, allocations: 4 kB / 361.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.436e-05/0.1257, allocations: 19.92 kB / 361.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.247e-05/0.1258, allocations: 23.75 kB / 361.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.1259, allocations: 51.81 kB / 361.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1259, allocations: 0 / 361.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1259, allocations: 0 / 361.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.311e-06/0.1259, allocations: 0 / 361.3 MB, free: 10.94 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005173/0.1264, allocations: 367.1 kB / 361.6 MB, free: 10.53 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1265, allocations: 8.031 kB / 361.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.1267, allocations: 24.83 kB / 361.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.127, allocations: 198.6 kB / 361.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.127, allocations: 384 / 361.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.127, allocations: 384 / 361.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.1272, allocations: 101.3 kB / 362 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1273, allocations: 4 kB / 362 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.1273, allocations: 3.938 kB / 362 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.1273, allocations: 4 kB / 362 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.52e-05/0.1274, allocations: 23.92 kB / 362 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003302/0.1277, allocations: 261.7 kB / 362.3 MB, free: 9.809 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.44e-05/0.1278, allocations: 49.08 kB / 362.3 MB, free: 9.742 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.384e-05/0.1279, allocations: 25.77 kB / 362.3 MB, free: 9.711 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.1279, allocations: 0 / 362.3 MB, free: 9.711 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.1279, allocations: 30.56 kB / 362.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.1279, allocations: 0 / 362.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002527/0.1282, allocations: 73.61 kB / 362.4 MB, free: 9.594 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.1283, allocations: 77.11 kB / 362.5 MB, free: 9.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.1284, allocations: 134.2 kB / 362.6 MB, free: 9.355 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.1284, allocations: 29.7 kB / 362.7 MB, free: 9.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.292e-05/0.1285, allocations: 88.12 kB / 362.7 MB, free: 9.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.1285, allocations: 3.906 kB / 362.8 MB, free: 9.227 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.1286, allocations: 17.97 kB / 362.8 MB, free: 9.203 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1287, allocations: 314.8 kB / 363.1 MB, free: 8.887 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.425e-05/0.1288, allocations: 19.92 kB / 363.1 MB, free: 8.867 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.763e-05/0.1288, allocations: 13.73 kB / 363.1 MB, free: 8.848 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.232e-05/0.1289, allocations: 33.64 kB / 363.1 MB, free: 8.809 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1289, allocations: 4.062 kB / 363.1 MB, free: 8.805 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001226/0.129, allocations: 61.52 kB / 363.2 MB, free: 8.738 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1291, allocations: 4 kB / 363.2 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1291, allocations: 4 kB / 363.2 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.1291, allocations: 0 / 363.2 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.893e-05/0.1292, allocations: 4 kB / 363.2 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.1292, allocations: 0 / 363.2 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.06e-05/0.1292, allocations: 11.92 kB / 363.2 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.1292, allocations: 0 / 363.2 MB, free: 8.715 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 8.827e-05/0.1293, allocations: 125.8 kB / 363.4 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.839e-05/0.1294, allocations: 41.55 kB / 363.4 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.781e-05/0.1295, allocations: 19.81 kB / 363.4 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1295, allocations: 0 / 363.4 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1295, allocations: 0 / 363.4 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1295, allocations: 0 / 363.4 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.1297, allocations: 173.6 kB / 363.6 MB, free: 8.293 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1297, allocations: 3.938 kB / 363.6 MB, free: 8.289 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.215e-05/0.1297, allocations: 4.031 kB / 363.6 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1297, allocations: 4 kB / 363.6 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1297, allocations: 3.984 kB / 363.6 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1297, allocations: 0 / 363.6 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.1297, allocations: 4 kB / 363.6 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.1299, allocations: 160.2 kB / 363.8 MB, free: 8.098 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.486e-05/0.13, allocations: 93.12 kB / 363.9 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.13, allocations: 4 kB / 363.9 MB, free: 7.984 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.467e-05/0.1301, allocations: 3.984 kB / 363.9 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.1301, allocations: 11.92 kB / 363.9 MB, free: 7.969 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.1301, allocations: 4 kB / 363.9 MB, free: 7.965 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.438e-05/0.1302, allocations: 110.3 kB / 364 MB, free: 7.859 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1302, allocations: 0 / 364 MB, free: 7.859 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002216/0.1304, allocations: 4 kB / 364 MB, free: 7.855 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001168/0.1306, allocations: 103.2 kB / 364.1 MB, free: 7.746 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001301/0.1307, allocations: 19.98 kB / 364.1 MB, free: 7.727 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.1307, allocations: 0 / 364.1 MB, free: 7.727 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.531e-05/0.1308, allocations: 11.94 kB / 364.1 MB, free: 7.715 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.1311, allocations: 23.47 kB / 364.1 MB, free: 7.695 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003438/0.1314, allocations: 163.6 kB / 364.3 MB, free: 7.508 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.1317, allocations: 0.6885 MB / 365 MB, free: 6.793 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.126e-05/0.1318, allocations: 4 kB / 365 MB, free: 6.789 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.1318, allocations: 7.438 kB / 365 MB, free: 6.781 MB / 302.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1318, allocations: 0 / 365 MB, free: 6.781 MB / 302.1 MB Notification: Performance of Templates: time 0.00262/0.1344, allocations: 485.6 kB / 365.5 MB, free: 6.316 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches