Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00125/0.001249, allocations: 121 kB / 18.41 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001421/0.00142, allocations: 212.5 kB / 19.36 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 63.47 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1131, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003315/0.1165, allocations: 1.61 MB / 360.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.1175, allocations: 0.5648 MB / 361.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.826e-05/0.1176, allocations: 0 / 361.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.736e-05/0.1177, allocations: 11.86 kB / 361.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001451/0.1178, allocations: 19.86 kB / 361.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003321/0.1182, allocations: 63.19 kB / 361.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.1183, allocations: 55.84 kB / 361.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.1184, allocations: 19.97 kB / 361.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.1186, allocations: 35.8 kB / 361.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.955e-05/0.1186, allocations: 19.86 kB / 361.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.1187, allocations: 8 kB / 361.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.669e-05/0.1187, allocations: 8 kB / 361.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.842e-05/0.1188, allocations: 23.91 kB / 361.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.688e-05/0.1188, allocations: 35.73 kB / 361.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.119, allocations: 63.73 kB / 361.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.119, allocations: 0 / 361.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.119, allocations: 0 / 361.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.119, allocations: 0 / 361.4 MB, free: 10.8 MB / 302.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.0005558/0.1196, allocations: 395 kB / 361.8 MB, free: 10.37 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.1196, allocations: 8.031 kB / 361.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002011/0.1198, allocations: 24.83 kB / 361.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.1201, allocations: 207.8 kB / 362.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.1202, allocations: 8.312 kB / 362.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.1202, allocations: 12.12 kB / 362.1 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.1205, allocations: 142.6 kB / 362.2 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1205, allocations: 0 / 362.2 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.1205, allocations: 0 / 362.2 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1205, allocations: 0 / 362.2 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.703e-05/0.1206, allocations: 27.92 kB / 362.2 MB, free: 9.887 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.121, allocations: 295.5 kB / 362.5 MB, free: 9.539 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.1212, allocations: 94.36 kB / 362.6 MB, free: 9.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.438e-05/0.1213, allocations: 51.48 kB / 362.7 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.1213, allocations: 0 / 362.7 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/0.1213, allocations: 34.56 kB / 362.7 MB, free: 9.305 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.1214, allocations: 4 kB / 362.7 MB, free: 9.301 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002998/0.1217, allocations: 105.4 kB / 362.8 MB, free: 9.191 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.074e-05/0.1217, allocations: 128.5 kB / 362.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.1219, allocations: 146.4 kB / 363.1 MB, free: 8.875 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.1219, allocations: 30.2 kB / 363.1 MB, free: 8.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.122, allocations: 92.08 kB / 363.2 MB, free: 8.746 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.122, allocations: 15.89 kB / 363.2 MB, free: 8.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.122, allocations: 17.72 kB / 363.2 MB, free: 8.707 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1222, allocations: 318.8 kB / 363.6 MB, free: 8.387 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.534e-05/0.1222, allocations: 11.94 kB / 363.6 MB, free: 8.375 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.998e-05/0.1223, allocations: 44.28 kB / 363.6 MB, free: 8.316 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.1224, allocations: 60.22 kB / 363.7 MB, free: 8.242 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1224, allocations: 0 / 363.7 MB, free: 8.242 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001546/0.1226, allocations: 89.45 kB / 363.8 MB, free: 8.148 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1226, allocations: 4 kB / 363.8 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.1226, allocations: 4 kB / 363.8 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.1226, allocations: 0 / 363.8 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.737e-05/0.1227, allocations: 15.98 kB / 363.8 MB, free: 8.125 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.1227, allocations: 0 / 363.8 MB, free: 8.125 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.808e-05/0.1228, allocations: 11.94 kB / 363.8 MB, free: 8.113 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.1228, allocations: 0 / 363.8 MB, free: 8.113 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.601e-05/0.1229, allocations: 133.9 kB / 363.9 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.565e-05/0.123, allocations: 53.55 kB / 364 MB, free: 7.914 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.161e-05/0.1231, allocations: 27.69 kB / 364 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1231, allocations: 4 kB / 364 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.1231, allocations: 0 / 364 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1231, allocations: 3.938 kB / 364 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.1233, allocations: 181.5 kB / 364.2 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.1233, allocations: 4 kB / 364.2 MB, free: 7.645 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.551e-05/0.1234, allocations: 12.05 kB / 364.2 MB, free: 7.633 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.1234, allocations: 11.94 kB / 364.2 MB, free: 7.621 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.1234, allocations: 128 / 364.2 MB, free: 7.621 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1234, allocations: 4 kB / 364.2 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1234, allocations: 4 kB / 364.2 MB, free: 7.613 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.1236, allocations: 198 kB / 364.4 MB, free: 7.395 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.543e-05/0.1237, allocations: 93 kB / 364.5 MB, free: 7.285 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.1237, allocations: 0 / 364.5 MB, free: 7.285 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.175e-05/0.1238, allocations: 7.984 kB / 364.5 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.1238, allocations: 11.88 kB / 364.5 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.1238, allocations: 0 / 364.5 MB, free: 7.266 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.325e-05/0.1239, allocations: 118.8 kB / 364.6 MB, free: 7.152 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1239, allocations: 0 / 364.6 MB, free: 7.152 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002308/0.1241, allocations: 8 kB / 364.6 MB, free: 7.145 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 9.179e-05/0.1242, allocations: 103.2 kB / 364.7 MB, free: 7.035 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001484/0.1244, allocations: 39.91 kB / 364.8 MB, free: 6.996 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1244, allocations: 0 / 364.8 MB, free: 6.996 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.244e-05/0.1245, allocations: 15.94 kB / 364.8 MB, free: 6.98 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.1248, allocations: 28.45 kB / 364.8 MB, free: 6.953 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003456/0.1252, allocations: 205.7 kB / 365 MB, free: 6.719 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.1254, allocations: 0.6934 MB / 365.7 MB, free: 6 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.433e-05/0.1255, allocations: 7.984 kB / 365.7 MB, free: 5.992 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/0.1255, allocations: 15.44 kB / 365.7 MB, free: 5.977 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1255, allocations: 0 / 365.7 MB, free: 5.977 MB / 302.1 MB Notification: Performance of Templates: time 0.002867/0.1284, allocations: 0.7181 MB / 366.5 MB, free: 5.27 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches