Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 109.5 kB / 17.68 MB, free: 5.332 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.001087/0.001087, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.359/1.359, allocations: 222.9 MB / 242.3 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.001079, allocations: 55.78 kB / 302.1 MB, free: 5.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09797/0.09907, allocations: 49.44 MB / 351.5 MB, free: 3.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003418/0.1025, allocations: 1.838 MB / 353.3 MB, free: 1.832 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.1038, allocations: 0.6312 MB / 354 MB, free: 1.199 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.104, allocations: 7.938 kB / 354 MB, free: 1.191 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001563/0.1042, allocations: 27.67 kB / 354 MB, free: 1.164 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.1043, allocations: 27.8 kB / 354 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.1047, allocations: 102.2 kB / 354.1 MB, free: 1.039 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.1049, allocations: 135.6 kB / 354.3 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.1051, allocations: 53.73 kB / 354.3 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.337e-05/0.1052, allocations: 55.7 kB / 354.4 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.1053, allocations: 55.66 kB / 354.4 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.963e-05/0.1053, allocations: 12 kB / 354.4 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.967e-05/0.1054, allocations: 12 kB / 354.5 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.409e-05/0.1054, allocations: 35.84 kB / 354.5 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.499e-05/0.1055, allocations: 63.59 kB / 354.5 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.1057, allocations: 143.4 kB / 354.7 MB, free: 492 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1057, allocations: 0 / 354.7 MB, free: 492 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1057, allocations: 0 / 354.7 MB, free: 492 kB / 286.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1057, allocations: 0 / 354.7 MB, free: 492 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006609/0.1064, allocations: 447 kB / 355.1 MB, free: 15.99 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.1065, allocations: 11.89 kB / 355.1 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.272e-05/0.1065, allocations: 28.66 kB / 355.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003681/0.1069, allocations: 245.7 kB / 355.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.1069, allocations: 12.12 kB / 355.4 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.1069, allocations: 12 kB / 355.4 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006015/0.1076, allocations: 279.4 kB / 355.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1076, allocations: 0 / 355.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.1076, allocations: 8 kB / 355.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.1076, allocations: 4 kB / 355.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.1078, allocations: 71.88 kB / 355.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004727/0.1083, allocations: 435.3 kB / 356.2 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004312/0.1087, allocations: 298.1 kB / 356.5 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.1089, allocations: 104.3 kB / 356.6 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.109, allocations: 4 kB / 356.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.109, allocations: 50.48 kB / 356.7 MB, free: 14.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.303e-06/0.109, allocations: 0 / 356.7 MB, free: 14.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005114/0.1095, allocations: 217.2 kB / 356.9 MB, free: 14.03 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.1096, allocations: 196.2 kB / 357.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.1098, allocations: 175.1 kB / 357.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1098, allocations: 33.7 kB / 357.3 MB, free: 13.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.47e-05/0.1099, allocations: 100.1 kB / 357.4 MB, free: 13.47 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.1099, allocations: 11.89 kB / 357.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.587e-05/0.11, allocations: 41.61 kB / 357.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.91e-05/0.1101, allocations: 326.8 kB / 357.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.33e-05/0.1101, allocations: 23.98 kB / 357.8 MB, free: 13.06 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.1103, allocations: 133.2 kB / 357.9 MB, free: 12.88 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.1105, allocations: 161.6 kB / 358 MB, free: 12.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1105, allocations: 0 / 358 MB, free: 12.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002705/0.1108, allocations: 169.6 kB / 358.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.1108, allocations: 7.938 kB / 358.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.1108, allocations: 7.938 kB / 358.2 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.1109, allocations: 4 kB / 358.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.111, allocations: 31.98 kB / 358.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.111, allocations: 7.938 kB / 358.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.362e-05/0.1111, allocations: 15.92 kB / 358.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.1111, allocations: 12 kB / 358.3 MB, free: 12.42 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (17): * Single equations (assignments): 17 * 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.0001254/0.1113, allocations: 133.7 kB / 358.4 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002909/0.1116, allocations: 153.3 kB / 358.6 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.974e-05/0.1116, allocations: 21.39 kB / 358.6 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1116, allocations: 4 kB / 358.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1117, allocations: 0 / 358.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.1117, allocations: 4 kB / 358.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/0.112, allocations: 209.6 kB / 358.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.112, allocations: 4.469 kB / 358.8 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.1122, allocations: 43.91 kB / 358.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.497e-05/0.1123, allocations: 7.969 kB / 358.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.1123, allocations: 4 kB / 358.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.1123, allocations: 0 / 358.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.1123, allocations: 11.94 kB / 358.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004006/0.1127, allocations: 357 kB / 359.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.1128, allocations: 108.8 kB / 359.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.1129, allocations: 7.938 kB / 359.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.113, allocations: 15.98 kB / 359.4 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/0.1131, allocations: 0 / 359.4 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.1131, allocations: 8.219 kB / 359.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.1132, allocations: 133.2 kB / 359.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1132, allocations: 4 kB / 359.5 MB, free: 11.1 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003113/0.1135, allocations: 20 kB / 359.5 MB, free: 11.08 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (17): * Single equations (assignments): 17 * 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.0001681/0.1137, allocations: 111.2 kB / 359.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000297/0.114, allocations: 112.6 kB / 359.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.114, allocations: 4.062 kB / 359.7 MB, free: 10.85 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.606e-05/0.1141, allocations: 11.98 kB / 359.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00067/0.1148, allocations: 99.92 kB / 359.8 MB, free: 10.74 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009185/0.1157, allocations: 367.4 kB / 360.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.1161, allocations: 0.7241 MB / 360.9 MB, free: 9.594 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.58e-05/0.1162, allocations: 13.56 kB / 360.9 MB, free: 9.582 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.722e-05/0.1162, allocations: 19.42 kB / 361 MB, free: 9.562 MB / 302.1 MB Notification: Performance of SimCode: time 7.02e-07/0.1162, allocations: 288 / 361 MB, free: 9.562 MB / 302.1 MB Notification: Performance of Templates: time 0.0049/0.1211, allocations: 1.676 MB / 362.6 MB, free: 7.906 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches