Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 100.5 kB / 16.5 MB, free: 6.641 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.001671/0.001672, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.465/1.465, allocations: 222.9 MB / 241.1 MB, free: 15.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 46.88 kB / 299.9 MB, free: 6.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1227, allocations: 49.45 MB / 349.4 MB, free: 4.879 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003215/0.126, allocations: 1.655 MB / 351.1 MB, free: 3.207 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008817/0.1269, allocations: 0.4987 MB / 351.6 MB, free: 2.703 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.931e-05/0.127, allocations: 7.938 kB / 351.6 MB, free: 2.695 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.584e-05/0.127, allocations: 3.938 kB / 351.6 MB, free: 2.691 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001662/0.1272, allocations: 15.91 kB / 351.6 MB, free: 2.676 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.1275, allocations: 45.97 kB / 351.6 MB, free: 2.633 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.1276, allocations: 47.84 kB / 351.7 MB, free: 2.586 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.1278, allocations: 16 kB / 351.7 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.364e-05/0.1279, allocations: 31.84 kB / 351.7 MB, free: 2.539 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.898e-05/0.1279, allocations: 27.86 kB / 351.7 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.128, allocations: 0 / 351.7 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.63e-05/0.128, allocations: 4 kB / 351.8 MB, free: 2.508 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.113e-05/0.1281, allocations: 11.92 kB / 351.8 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.171e-05/0.1281, allocations: 27.81 kB / 351.8 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.1282, allocations: 59.73 kB / 351.8 MB, free: 2.41 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.1282, allocations: 3.938 kB / 351.9 MB, free: 2.406 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1283, allocations: 4 kB / 351.9 MB, free: 2.402 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1283, allocations: 0 / 351.9 MB, free: 2.402 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005706/0.1288, allocations: 385.8 kB / 352.2 MB, free: 1.98 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.1289, allocations: 12.03 kB / 352.2 MB, free: 1.969 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.1289, allocations: 8.844 kB / 352.3 MB, free: 1.961 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.1291, allocations: 204.6 kB / 352.5 MB, free: 1.723 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.1292, allocations: 384 / 352.5 MB, free: 1.723 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.1292, allocations: 12.12 kB / 352.5 MB, free: 1.711 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003163/0.1295, allocations: 138.6 kB / 352.6 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1295, allocations: 0 / 352.6 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.1295, allocations: 0 / 352.6 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.1296, allocations: 4 kB / 352.6 MB, free: 1.547 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.862e-05/0.1296, allocations: 23.92 kB / 352.6 MB, free: 1.523 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000368/0.13, allocations: 291.4 kB / 352.9 MB, free: 1.18 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.1302, allocations: 98.48 kB / 353 MB, free: 1.047 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.892e-05/0.1303, allocations: 47.36 kB / 353.1 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.1303, allocations: 0 / 353.1 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.1303, allocations: 38.56 kB / 353.1 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.1303, allocations: 0 / 353.1 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002899/0.1306, allocations: 101.4 kB / 353.2 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.007e-05/0.1307, allocations: 137 kB / 353.3 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.1308, allocations: 144.6 kB / 353.5 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.1309, allocations: 33.7 kB / 353.5 MB, free: 496 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.19e-05/0.1309, allocations: 92.02 kB / 353.6 MB, free: 400 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.131, allocations: 7.906 kB / 353.6 MB, free: 392 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/0.131, allocations: 21.7 kB / 353.6 MB, free: 364 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1311, allocations: 314.8 kB / 353.9 MB, free: 40 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.101e-05/0.1312, allocations: 15.98 kB / 353.9 MB, free: 24 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.237e-05/0.1313, allocations: 48.28 kB / 354 MB, free: 15.96 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.1314, allocations: 56.22 kB / 354 MB, free: 15.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1314, allocations: 4 kB / 354 MB, free: 15.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001499/0.1315, allocations: 85.45 kB / 354.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1316, allocations: 4 kB / 354.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.1316, allocations: 4 kB / 354.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1316, allocations: 0 / 354.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.966e-05/0.1317, allocations: 8 kB / 354.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.1317, allocations: 11.92 kB / 354.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.152e-05/0.1318, allocations: 12.09 kB / 354.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.1318, allocations: 0 / 354.2 MB, free: 15.76 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (6): * Single equations (assignments): 6 * 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.0001027/0.1319, allocations: 129.7 kB / 354.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.345e-05/0.132, allocations: 57.58 kB / 354.4 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.132, allocations: 11.88 kB / 354.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.132, allocations: 3.984 kB / 354.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.132, allocations: 4 kB / 354.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.132, allocations: 3.938 kB / 354.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.1322, allocations: 177.8 kB / 354.5 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1322, allocations: 4 kB / 354.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.82e-05/0.1323, allocations: 19.92 kB / 354.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1323, allocations: 3.938 kB / 354.6 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.1324, allocations: 4 kB / 354.6 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1324, allocations: 0 / 354.6 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1324, allocations: 0 / 354.6 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.1326, allocations: 201.9 kB / 354.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.605e-05/0.1327, allocations: 93 kB / 354.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.1327, allocations: 7.938 kB / 354.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.324e-05/0.1328, allocations: 4 kB / 354.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.1328, allocations: 3.938 kB / 354.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.1328, allocations: 7.984 kB / 354.9 MB, free: 14.92 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.191e-05/0.1329, allocations: 113 kB / 355 MB, free: 14.81 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1329, allocations: 0 / 355 MB, free: 14.81 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002395/0.1331, allocations: 8 kB / 355 MB, free: 14.8 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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.0001124/0.1333, allocations: 103.2 kB / 355.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001788/0.1334, allocations: 43.92 kB / 355.2 MB, free: 14.65 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.1335, allocations: 0 / 355.2 MB, free: 14.65 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.544e-05/0.1335, allocations: 20.3 kB / 355.2 MB, free: 14.63 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.1339, allocations: 31.95 kB / 355.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004269/0.1344, allocations: 235.6 kB / 355.4 MB, free: 14.33 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.1347, allocations: 0.6965 MB / 356.1 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.864e-05/0.1347, allocations: 4 kB / 356.1 MB, free: 13.6 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.1348, allocations: 15.44 kB / 356.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1348, allocations: 0 / 356.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of Templates: time 0.003216/0.138, allocations: 0.6573 MB / 356.8 MB, free: 12.94 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches