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.001277/0.001277, allocations: 114.6 kB / 17.69 MB, free: 5.309 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.001184/0.001184, allocations: 191 kB / 18.63 MB, free: 4.375 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.32/1.32, allocations: 222.9 MB / 242.3 MB, free: 15.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 39 kB / 302.1 MB, free: 5.148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1182, allocations: 49.45 MB / 351.5 MB, free: 3.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002887/0.1211, allocations: 1.593 MB / 353.1 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008969/0.122, allocations: 0.5064 MB / 353.6 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.03e-05/0.1222, allocations: 3.938 kB / 353.6 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.837e-05/0.1222, allocations: 7.938 kB / 353.6 MB, free: 1.543 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001386/0.1224, allocations: 11.88 kB / 353.6 MB, free: 1.531 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.1227, allocations: 63.75 kB / 353.7 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.1228, allocations: 47.8 kB / 353.7 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.1229, allocations: 23.97 kB / 353.8 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.418e-05/0.123, allocations: 23.86 kB / 353.8 MB, free: 1.375 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.1231, allocations: 23.86 kB / 353.8 MB, free: 1.352 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.1231, allocations: 8 kB / 353.8 MB, free: 1.344 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.285e-05/0.1231, allocations: 4 kB / 353.8 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.641e-05/0.1232, allocations: 19.91 kB / 353.8 MB, free: 1.32 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.346e-05/0.1232, allocations: 27.81 kB / 353.9 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.1233, allocations: 63.73 kB / 353.9 MB, free: 1.23 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1233, allocations: 0 / 353.9 MB, free: 1.23 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.085e-06/0.1234, allocations: 0 / 353.9 MB, free: 1.23 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1234, allocations: 3.938 kB / 353.9 MB, free: 1.227 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.0005239/0.1239, allocations: 387 kB / 354.3 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.1239, allocations: 12.03 kB / 354.3 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.86e-05/0.124, allocations: 8.844 kB / 354.3 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.1242, allocations: 211.8 kB / 354.5 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.1242, allocations: 384 / 354.5 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.1243, allocations: 12.11 kB / 354.5 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.1245, allocations: 130.7 kB / 354.7 MB, free: 384 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1246, allocations: 0 / 354.7 MB, free: 384 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.1246, allocations: 4 kB / 354.7 MB, free: 380 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1246, allocations: 4 kB / 354.7 MB, free: 376 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.325e-05/0.1247, allocations: 23.92 kB / 354.7 MB, free: 352 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003181/0.125, allocations: 299.3 kB / 355 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.1251, allocations: 90.36 kB / 355.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.104e-05/0.1252, allocations: 51.55 kB / 355.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.1252, allocations: 3.984 kB / 355.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.1253, allocations: 46.44 kB / 355.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.1253, allocations: 0 / 355.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002643/0.1255, allocations: 101.5 kB / 355.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/0.1256, allocations: 136.5 kB / 355.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.1257, allocations: 141.8 kB / 355.6 MB, free: 15.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.1257, allocations: 29.7 kB / 355.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.285e-05/0.1258, allocations: 92.58 kB / 355.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.1258, allocations: 15.89 kB / 355.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.1259, allocations: 21.66 kB / 355.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.894e-05/0.126, allocations: 318.8 kB / 356 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.388e-05/0.126, allocations: 8 kB / 356 MB, free: 14.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.897e-05/0.1261, allocations: 44.28 kB / 356.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.1262, allocations: 60.22 kB / 356.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1262, allocations: 0 / 356.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001491/0.1264, allocations: 89.45 kB / 356.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1264, allocations: 4 kB / 356.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1264, allocations: 0 / 356.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1264, allocations: 4 kB / 356.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.807e-05/0.1265, allocations: 19.92 kB / 356.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.1265, allocations: 4 kB / 356.3 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.73e-05/0.1266, allocations: 7.938 kB / 356.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.1266, allocations: 0 / 356.3 MB, free: 14.56 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 8.975e-05/0.1267, allocations: 133.9 kB / 356.4 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.473e-05/0.1268, allocations: 57.55 kB / 356.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.874e-05/0.1268, allocations: 15.86 kB / 356.5 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1268, allocations: 0 / 356.5 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.1268, allocations: 4 kB / 356.5 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1269, allocations: 3.938 kB / 356.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.127, allocations: 173.6 kB / 356.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.127, allocations: 0 / 356.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.631e-05/0.1271, allocations: 15.98 kB / 356.7 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.1271, allocations: 4.062 kB / 356.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.1271, allocations: 4 kB / 356.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1272, allocations: 0 / 356.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1272, allocations: 0 / 356.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.1274, allocations: 206 kB / 356.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.857e-05/0.1274, allocations: 101 kB / 357 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.1275, allocations: 0 / 357 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.165e-05/0.1275, allocations: 4 kB / 357 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.1276, allocations: 7.922 kB / 357 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.1276, allocations: 8 kB / 357 MB, free: 13.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.609e-05/0.1277, allocations: 112.6 kB / 357.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1277, allocations: 0 / 357.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002308/0.1279, allocations: 4 kB / 357.1 MB, free: 13.61 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.0001049/0.128, allocations: 103.7 kB / 357.2 MB, free: 13.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001591/0.1282, allocations: 47.91 kB / 357.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1282, allocations: 0 / 357.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.005e-05/0.1282, allocations: 12 kB / 357.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.1286, allocations: 36.52 kB / 357.3 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003642/0.129, allocations: 209.7 kB / 357.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.1292, allocations: 0.6924 MB / 358.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.414e-05/0.1293, allocations: 3.984 kB / 358.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.1293, allocations: 15.42 kB / 358.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1293, allocations: 4 kB / 358.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of Templates: time 0.002972/0.1323, allocations: 0.7039 MB / 358.9 MB, free: 11.73 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins1/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