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.001591/0.001591, allocations: 107.5 kB / 16.62 MB, free: 6.812 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.001332/0.001332, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.466/1.466, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 46.86 kB / 300.1 MB, free: 6.211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1206, allocations: 49.45 MB / 349.6 MB, free: 4.754 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003363/0.124, allocations: 1.651 MB / 351.2 MB, free: 3.086 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009349/0.125, allocations: 0.5026 MB / 351.7 MB, free: 2.578 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.992e-05/0.1251, allocations: 0 / 351.7 MB, free: 2.578 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.865e-05/0.1252, allocations: 3.938 kB / 351.7 MB, free: 2.574 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001592/0.1254, allocations: 15.91 kB / 351.8 MB, free: 2.559 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.1257, allocations: 45.78 kB / 351.8 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.1258, allocations: 51.8 kB / 351.9 MB, free: 2.465 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.1259, allocations: 19.98 kB / 351.9 MB, free: 2.445 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.871e-05/0.126, allocations: 35.78 kB / 351.9 MB, free: 2.41 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.271e-05/0.1261, allocations: 23.86 kB / 351.9 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.1261, allocations: 4 kB / 351.9 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.392e-05/0.1261, allocations: 4 kB / 351.9 MB, free: 2.379 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.398e-05/0.1262, allocations: 15.92 kB / 352 MB, free: 2.363 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.09e-05/0.1262, allocations: 27.81 kB / 352 MB, free: 2.336 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.1264, allocations: 59.73 kB / 352 MB, free: 2.277 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1264, allocations: 4 kB / 352 MB, free: 2.273 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1264, allocations: 0 / 352 MB, free: 2.273 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.1264, allocations: 0 / 352 MB, free: 2.273 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.0005276/0.1269, allocations: 387.3 kB / 352.4 MB, free: 1.848 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.127, allocations: 8.031 kB / 352.4 MB, free: 1.84 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.439e-05/0.127, allocations: 12.84 kB / 352.4 MB, free: 1.828 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.1273, allocations: 211.7 kB / 352.6 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.1273, allocations: 384 / 352.6 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.1273, allocations: 12.06 kB / 352.7 MB, free: 1.574 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003035/0.1276, allocations: 134.7 kB / 352.8 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.1276, allocations: 0 / 352.8 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.1276, allocations: 0 / 352.8 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1277, allocations: 0 / 352.8 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.725e-05/0.1277, allocations: 31.92 kB / 352.8 MB, free: 1.387 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004024/0.1282, allocations: 287.4 kB / 353.1 MB, free: 1.047 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.1283, allocations: 94.36 kB / 353.2 MB, free: 0.918 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.1284, allocations: 47.55 kB / 353.2 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.1285, allocations: 0 / 353.2 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.1285, allocations: 42.5 kB / 353.3 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1285, allocations: 0 / 353.3 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003382/0.1289, allocations: 105.3 kB / 353.4 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.393e-05/0.129, allocations: 137 kB / 353.5 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.1291, allocations: 137.8 kB / 353.7 MB, free: 400 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.1291, allocations: 29.69 kB / 353.7 MB, free: 364 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.784e-05/0.1292, allocations: 96.08 kB / 353.8 MB, free: 264 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.1292, allocations: 3.906 kB / 353.8 MB, free: 260 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.1292, allocations: 25.7 kB / 353.8 MB, free: 228 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1294, allocations: 314.8 kB / 354.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.219e-05/0.1294, allocations: 15.98 kB / 354.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.54e-05/0.1295, allocations: 44.28 kB / 354.2 MB, free: 15.83 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.1296, allocations: 68.16 kB / 354.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1296, allocations: 0 / 354.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000151/0.1298, allocations: 81.52 kB / 354.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1298, allocations: 4 kB / 354.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1298, allocations: 0 / 354.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1298, allocations: 4 kB / 354.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.193e-05/0.1299, allocations: 15.92 kB / 354.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.13, allocations: 12.14 kB / 354.4 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.754e-05/0.13, allocations: 3.938 kB / 354.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.13, allocations: 4 kB / 354.4 MB, free: 15.62 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.187e-05/0.1301, allocations: 121.7 kB / 354.5 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.454e-05/0.1302, allocations: 65.53 kB / 354.5 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.1302, allocations: 11.88 kB / 354.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1303, allocations: 3.984 kB / 354.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.1303, allocations: 8.062 kB / 354.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1303, allocations: 12 kB / 354.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.1305, allocations: 169.7 kB / 354.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1305, allocations: 0 / 354.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.955e-05/0.1305, allocations: 15.98 kB / 354.8 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1306, allocations: 0 / 354.8 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.1306, allocations: 8 kB / 354.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1306, allocations: 0 / 354.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1306, allocations: 0 / 354.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002079/0.1308, allocations: 201.9 kB / 355 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.004e-05/0.1309, allocations: 93 kB / 355.1 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.1309, allocations: 4 kB / 355.1 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.522e-05/0.131, allocations: 4 kB / 355.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/0.131, allocations: 7.938 kB / 355.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.131, allocations: 4 kB / 355.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.221e-05/0.1311, allocations: 112.8 kB / 355.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1311, allocations: 0 / 355.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.1314, allocations: 8 kB / 355.2 MB, free: 14.68 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.0001166/0.1315, allocations: 111.1 kB / 355.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001725/0.1317, allocations: 43.92 kB / 355.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1317, allocations: 320 / 355.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.238e-05/0.1317, allocations: 11.98 kB / 355.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.1322, allocations: 35.95 kB / 355.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004082/0.1326, allocations: 230 kB / 355.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.1329, allocations: 0.6963 MB / 356.3 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.729e-05/0.1329, allocations: 4 kB / 356.3 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.133, allocations: 11.44 kB / 356.3 MB, free: 13.46 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.133, allocations: 4 kB / 356.3 MB, free: 13.46 MB / 302.1 MB Notification: Performance of Templates: time 0.003355/0.1363, allocations: 0.6979 MB / 357 MB, free: 12.77 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