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.001396/0.001396, allocations: 116.9 kB / 18.4 MB, free: 4.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001643/0.001643, allocations: 204.5 kB / 19.35 MB, free: 3.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 60.5 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1197, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003252/0.123, allocations: 1.559 MB / 360.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.1241, allocations: 0.5298 MB / 361 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.545e-05/0.1242, allocations: 0 / 361 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.576e-05/0.1242, allocations: 11.88 kB / 361 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001575/0.1244, allocations: 15.88 kB / 361 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00037/0.1248, allocations: 51.12 kB / 361.1 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.1249, allocations: 39.8 kB / 361.1 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.125, allocations: 19.95 kB / 361.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.1252, allocations: 23.88 kB / 361.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.778e-05/0.1252, allocations: 19.86 kB / 361.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.1253, allocations: 4 kB / 361.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.655e-05/0.1253, allocations: 8 kB / 361.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.641e-05/0.1254, allocations: 11.98 kB / 361.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.896e-05/0.1254, allocations: 27.8 kB / 361.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.1256, allocations: 51.81 kB / 361.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.892e-06/0.1256, allocations: 3.938 kB / 361.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1256, allocations: 0 / 361.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1256, allocations: 0 / 361.3 MB, free: 10.96 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.0005524/0.1262, allocations: 371.1 kB / 361.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1262, allocations: 8.031 kB / 361.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.1264, allocations: 24.83 kB / 361.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000356/0.1268, allocations: 198.6 kB / 361.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.1268, allocations: 4.312 kB / 361.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-06/0.1268, allocations: 384 / 361.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003035/0.1271, allocations: 97.42 kB / 362 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.1271, allocations: 0 / 362 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.1271, allocations: 3.938 kB / 362 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1272, allocations: 0 / 362 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.578e-05/0.1272, allocations: 15.98 kB / 362 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003647/0.1276, allocations: 265.7 kB / 362.2 MB, free: 9.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.683e-05/0.1277, allocations: 45.16 kB / 362.3 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.2e-05/0.1278, allocations: 21.77 kB / 362.3 MB, free: 9.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.1278, allocations: 0 / 362.3 MB, free: 9.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.1278, allocations: 34.56 kB / 362.3 MB, free: 9.707 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.1279, allocations: 0 / 362.3 MB, free: 9.707 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002893/0.1281, allocations: 69.61 kB / 362.4 MB, free: 9.633 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/0.1282, allocations: 81.05 kB / 362.5 MB, free: 9.535 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.1284, allocations: 138.1 kB / 362.6 MB, free: 9.387 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.1284, allocations: 29.7 kB / 362.6 MB, free: 9.352 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.53e-05/0.1285, allocations: 88.14 kB / 362.7 MB, free: 9.262 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.1285, allocations: 7.844 kB / 362.7 MB, free: 9.254 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.1285, allocations: 17.97 kB / 362.8 MB, free: 9.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1287, allocations: 318.8 kB / 363.1 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.959e-05/0.1287, allocations: 8 kB / 363.1 MB, free: 8.902 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.199e-05/0.1288, allocations: 21.72 kB / 363.1 MB, free: 8.875 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.167e-05/0.1288, allocations: 37.64 kB / 363.1 MB, free: 8.832 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1289, allocations: 0 / 363.1 MB, free: 8.832 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001199/0.129, allocations: 57.53 kB / 363.2 MB, free: 8.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.129, allocations: 4 kB / 363.2 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.129, allocations: 4 kB / 363.2 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.129, allocations: 0 / 363.2 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.68e-05/0.1291, allocations: 7.984 kB / 363.2 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1291, allocations: 0 / 363.2 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.805e-05/0.1292, allocations: 7.938 kB / 363.2 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.1292, allocations: 4.062 kB / 363.2 MB, free: 8.742 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 0.0001008/0.1293, allocations: 125.7 kB / 363.3 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.984e-05/0.1294, allocations: 45.55 kB / 363.4 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.003e-05/0.1294, allocations: 11.83 kB / 363.4 MB, free: 8.543 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1294, allocations: 3.984 kB / 363.4 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1294, allocations: 0 / 363.4 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1294, allocations: 0 / 363.4 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.1296, allocations: 173.6 kB / 363.6 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1296, allocations: 0 / 363.6 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.522e-05/0.1297, allocations: 12.02 kB / 363.6 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.1297, allocations: 0 / 363.6 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.1297, allocations: 0 / 363.6 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.1297, allocations: 4 kB / 363.6 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1297, allocations: 4 kB / 363.6 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.1299, allocations: 172.2 kB / 363.8 MB, free: 8.113 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.846e-05/0.13, allocations: 85.09 kB / 363.8 MB, free: 8.012 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.13, allocations: 4 kB / 363.8 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.576e-05/0.1301, allocations: 4 kB / 363.9 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.1301, allocations: 0 / 363.9 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.1301, allocations: 4 kB / 363.9 MB, free: 8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.842e-05/0.1302, allocations: 109.7 kB / 364 MB, free: 7.895 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.644e-06/0.1302, allocations: 0 / 364 MB, free: 7.895 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002248/0.1304, allocations: 7.938 kB / 364 MB, free: 7.887 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 9.438e-05/0.1305, allocations: 99.28 kB / 364.1 MB, free: 7.781 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001308/0.1307, allocations: 27.92 kB / 364.1 MB, free: 7.754 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1307, allocations: 0 / 364.1 MB, free: 7.754 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.563e-05/0.1307, allocations: 7.984 kB / 364.1 MB, free: 7.746 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.131, allocations: 15.97 kB / 364.1 MB, free: 7.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003512/0.1314, allocations: 167.6 kB / 364.3 MB, free: 7.539 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.1316, allocations: 0.6923 MB / 365 MB, free: 6.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.176e-05/0.1317, allocations: 4 kB / 365 MB, free: 6.816 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/0.1317, allocations: 11.42 kB / 365 MB, free: 6.805 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1317, allocations: 0 / 365 MB, free: 6.805 MB / 302.1 MB Notification: Performance of Templates: time 0.002889/0.1346, allocations: 487.1 kB / 365.5 MB, free: 6.336 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 gbode -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