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.001435/0.001435, allocations: 111.2 kB / 17.29 MB, free: 6.219 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.001272/0.001272, allocations: 193.3 kB / 18.21 MB, free: 5.293 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.355/1.355, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00103/0.00103, allocations: 50.23 kB / 300.8 MB, free: 6.199 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1014, allocations: 49.44 MB / 350.2 MB, free: 4.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003392/0.1048, allocations: 1.659 MB / 351.9 MB, free: 3.074 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000971/0.1059, allocations: 0.4948 MB / 352.4 MB, free: 2.574 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.106, allocations: 4 kB / 352.4 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.286e-05/0.1061, allocations: 7.922 kB / 352.4 MB, free: 2.562 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.1063, allocations: 11.92 kB / 352.4 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.1066, allocations: 51.89 kB / 352.5 MB, free: 2.5 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.1068, allocations: 51.8 kB / 352.5 MB, free: 2.449 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.1069, allocations: 23.97 kB / 352.5 MB, free: 2.426 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.256e-05/0.107, allocations: 27.8 kB / 352.6 MB, free: 2.398 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.701e-05/0.1071, allocations: 27.84 kB / 352.6 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.1071, allocations: 4 kB / 352.6 MB, free: 2.367 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.396e-05/0.1071, allocations: 4 kB / 352.6 MB, free: 2.363 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.93e-05/0.1072, allocations: 15.94 kB / 352.6 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.054e-05/0.1072, allocations: 31.8 kB / 352.6 MB, free: 2.316 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.1074, allocations: 43.92 kB / 352.7 MB, free: 2.273 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1074, allocations: 0 / 352.7 MB, free: 2.273 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1074, allocations: 0 / 352.7 MB, free: 2.273 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.1074, allocations: 0 / 352.7 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.0005525/0.1079, allocations: 387.3 kB / 353.1 MB, free: 1.848 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.108, allocations: 8.031 kB / 353.1 MB, free: 1.84 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.924e-05/0.1081, allocations: 12.84 kB / 353.1 MB, free: 1.828 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.1083, allocations: 204.6 kB / 353.3 MB, free: 1.59 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.1083, allocations: 4.375 kB / 353.3 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.1084, allocations: 8.125 kB / 353.3 MB, free: 1.578 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003166/0.1087, allocations: 130.7 kB / 353.4 MB, free: 1.426 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1087, allocations: 4 kB / 353.4 MB, free: 1.422 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.1087, allocations: 0 / 353.4 MB, free: 1.422 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1087, allocations: 0 / 353.4 MB, free: 1.422 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.48e-05/0.1088, allocations: 27.92 kB / 353.5 MB, free: 1.395 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004157/0.1093, allocations: 295.4 kB / 353.7 MB, free: 1.047 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.1094, allocations: 90.36 kB / 353.8 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.364e-05/0.1095, allocations: 47.55 kB / 353.9 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.1095, allocations: 4 kB / 353.9 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.1096, allocations: 38.5 kB / 353.9 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1096, allocations: 0 / 353.9 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003133/0.1099, allocations: 109.8 kB / 354 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.961e-05/0.11, allocations: 132.5 kB / 354.2 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.1101, allocations: 143.3 kB / 354.3 MB, free: 400 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.1101, allocations: 25.7 kB / 354.3 MB, free: 368 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.958e-05/0.1102, allocations: 96.08 kB / 354.4 MB, free: 268 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.1102, allocations: 11.83 kB / 354.4 MB, free: 256 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-05/0.1103, allocations: 21.72 kB / 354.5 MB, free: 228 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1104, allocations: 318.9 kB / 354.8 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.019e-05/0.1105, allocations: 15.98 kB / 354.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.975e-05/0.1106, allocations: 40.41 kB / 354.8 MB, free: 15.83 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.1107, allocations: 68.22 kB / 354.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1107, allocations: 3.938 kB / 354.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001579/0.1109, allocations: 77.52 kB / 355 MB, free: 15.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.1109, allocations: 8 kB / 355 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1109, allocations: 4.156 kB / 355 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1109, allocations: 4 kB / 355 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.015e-05/0.111, allocations: 15.92 kB / 355 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.111, allocations: 4 kB / 355 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.96e-05/0.1111, allocations: 3.938 kB / 355 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.1111, allocations: 4 kB / 355 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 9.606e-05/0.1112, allocations: 121.8 kB / 355.1 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.662e-05/0.1113, allocations: 61.55 kB / 355.2 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.963e-05/0.1113, allocations: 19.92 kB / 355.2 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1114, allocations: 0 / 355.2 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1114, allocations: 0 / 355.2 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.1114, allocations: 7.938 kB / 355.2 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.1116, allocations: 173.6 kB / 355.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.1116, allocations: 0 / 355.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.724e-05/0.1117, allocations: 12 kB / 355.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1117, allocations: 3.984 kB / 355.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.1117, allocations: 4 kB / 355.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.1117, allocations: 4 kB / 355.4 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.1117, allocations: 4 kB / 355.4 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.1119, allocations: 193.9 kB / 355.6 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-05/0.112, allocations: 93 kB / 355.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.112, allocations: 4 kB / 355.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.418e-05/0.1121, allocations: 11.94 kB / 355.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.947e-05/0.1122, allocations: 11.92 kB / 355.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.1122, allocations: 4 kB / 355.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.474e-05/0.1123, allocations: 108.6 kB / 355.8 MB, free: 14.69 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.804e-06/0.1123, allocations: 0 / 355.8 MB, free: 14.69 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.1125, allocations: 11.94 kB / 355.8 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.0001286/0.1126, allocations: 111.1 kB / 355.9 MB, free: 14.56 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.1128, allocations: 43.92 kB / 356 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1128, allocations: 4 kB / 356 MB, free: 14.51 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.139e-05/0.1129, allocations: 7.984 kB / 356 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.00046/0.1134, allocations: 40.52 kB / 356 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004507/0.1138, allocations: 258.1 kB / 356.3 MB, free: 14.17 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.1141, allocations: 0.6963 MB / 357 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.1141, allocations: 11.44 kB / 357 MB, free: 13.43 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1142, allocations: 4 kB / 357 MB, free: 13.43 MB / 302.1 MB Notification: Performance of Templates: time 0.002761/0.1169, allocations: 0.9111 MB / 357.9 MB, free: 12.52 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/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