Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 102.8 kB / 17.59 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 191.3 kB / 18.52 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 222.9 MB / 242.2 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.00124, allocations: 39.06 kB / 301.3 MB, free: 5.895 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1218, allocations: 49.46 MB / 350.7 MB, free: 4.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003604/0.1254, allocations: 1.538 MB / 352.3 MB, free: 2.875 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.1265, allocations: 480.2 kB / 352.7 MB, free: 2.402 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.1266, allocations: 0 / 352.7 MB, free: 2.402 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.053e-05/0.1267, allocations: 3.938 kB / 352.7 MB, free: 2.398 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001716/0.1269, allocations: 15.92 kB / 352.8 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003065/0.1272, allocations: 39.84 kB / 352.8 MB, free: 2.344 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.1273, allocations: 31.86 kB / 352.8 MB, free: 2.312 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.1275, allocations: 15.98 kB / 352.8 MB, free: 2.297 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.958e-05/0.1276, allocations: 27.86 kB / 352.9 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.894e-05/0.1276, allocations: 15.92 kB / 352.9 MB, free: 2.254 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.1277, allocations: 0 / 352.9 MB, free: 2.254 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.492e-05/0.1277, allocations: 8 kB / 352.9 MB, free: 2.246 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.524e-05/0.1278, allocations: 15.92 kB / 352.9 MB, free: 2.23 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.658e-05/0.1278, allocations: 19.81 kB / 352.9 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.128, allocations: 43.81 kB / 353 MB, free: 2.168 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.128, allocations: 0 / 353 MB, free: 2.168 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.128, allocations: 0 / 353 MB, free: 2.168 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.128, allocations: 0 / 353 MB, free: 2.168 MB / 286.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.0005288/0.1285, allocations: 367.5 kB / 353.3 MB, free: 1.762 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.1286, allocations: 12.03 kB / 353.3 MB, free: 1.75 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.662e-05/0.1286, allocations: 8.828 kB / 353.4 MB, free: 1.742 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.1289, allocations: 200.1 kB / 353.6 MB, free: 1.508 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.1289, allocations: 384 / 353.6 MB, free: 1.508 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.1289, allocations: 4.312 kB / 353.6 MB, free: 1.504 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.1292, allocations: 93.42 kB / 353.6 MB, free: 1.395 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1292, allocations: 0 / 353.6 MB, free: 1.395 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1292, allocations: 0 / 353.6 MB, free: 1.395 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1293, allocations: 4 kB / 353.7 MB, free: 1.391 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.304e-05/0.1294, allocations: 23.86 kB / 353.7 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003607/0.1297, allocations: 261.8 kB / 353.9 MB, free: 1.059 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.1298, allocations: 53.14 kB / 354 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.587e-05/0.1299, allocations: 21.78 kB / 354 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.1299, allocations: 3.984 kB / 354 MB, free: 0.957 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.13, allocations: 38.5 kB / 354 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.13, allocations: 0 / 354 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002841/0.1303, allocations: 69.73 kB / 354.1 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.256e-05/0.1303, allocations: 81.14 kB / 354.2 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.1305, allocations: 141.8 kB / 354.3 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.1305, allocations: 25.7 kB / 354.4 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.515e-05/0.1306, allocations: 88.14 kB / 354.4 MB, free: 480 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.1306, allocations: 3.906 kB / 354.4 MB, free: 476 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.477e-05/0.1306, allocations: 17.72 kB / 354.5 MB, free: 452 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1308, allocations: 318.8 kB / 354.8 MB, free: 124 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.436e-05/0.1308, allocations: 12 kB / 354.8 MB, free: 112 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.741e-05/0.1309, allocations: 21.7 kB / 354.8 MB, free: 84 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.355e-05/0.131, allocations: 25.7 kB / 354.8 MB, free: 52 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.131, allocations: 4 kB / 354.8 MB, free: 48 kB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001509/0.1311, allocations: 61.59 kB / 354.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1312, allocations: 4 kB / 354.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1312, allocations: 0 / 354.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1312, allocations: 0 / 354.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.143e-05/0.1313, allocations: 7.984 kB / 354.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.1313, allocations: 4 kB / 354.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.751e-05/0.1313, allocations: 0 / 354.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.1314, allocations: 0 / 354.9 MB, free: 15.96 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 9.61e-05/0.1315, allocations: 133.8 kB / 355 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.997e-05/0.1315, allocations: 33.64 kB / 355.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.416e-05/0.1316, allocations: 11.88 kB / 355.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1316, allocations: 0 / 355.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1316, allocations: 0 / 355.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1316, allocations: 4 kB / 355.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.1318, allocations: 169.6 kB / 355.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1318, allocations: 0 / 355.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.834e-05/0.1318, allocations: 7.984 kB / 355.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1319, allocations: 0 / 355.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.1319, allocations: 8.031 kB / 355.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1319, allocations: 0 / 355.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1319, allocations: 0 / 355.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.1321, allocations: 164.2 kB / 355.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.773e-05/0.1322, allocations: 96.94 kB / 355.5 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.1322, allocations: 3.938 kB / 355.5 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.593e-05/0.1323, allocations: 4.031 kB / 355.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.1323, allocations: 4 kB / 355.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.1323, allocations: 0 / 355.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.289e-05/0.1324, allocations: 109.9 kB / 355.6 MB, free: 15.12 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1324, allocations: 0 / 355.6 MB, free: 15.12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002241/0.1326, allocations: 4 kB / 355.7 MB, free: 15.12 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.0001301/0.1328, allocations: 107.7 kB / 355.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001448/0.1329, allocations: 27.92 kB / 355.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1329, allocations: 0 / 355.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.177e-05/0.133, allocations: 11.98 kB / 355.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.1334, allocations: 25.42 kB / 355.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003916/0.1338, allocations: 189.3 kB / 356 MB, free: 14.73 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.1341, allocations: 0.6884 MB / 356.7 MB, free: 14.01 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.1341, allocations: 11.44 kB / 356.7 MB, free: 14 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1341, allocations: 0 / 356.7 MB, free: 14 MB / 302.1 MB Notification: Performance of Templates: time 0.002566/0.1367, allocations: 0.6784 MB / 357.4 MB, free: 13.32 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches