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.001244/0.001244, allocations: 110.6 kB / 16.51 MB, free: 6.652 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.001341/0.001341, allocations: 199.8 kB / 17.43 MB, free: 6.035 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.447/1.447, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009656/0.0009656, allocations: 56.53 kB / 300 MB, free: 6.316 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1029, allocations: 49.44 MB / 349.4 MB, free: 4.867 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003187/0.1061, allocations: 1.908 MB / 351.3 MB, free: 2.938 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.1072, allocations: 0.6156 MB / 351.9 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.1073, allocations: 7.938 kB / 351.9 MB, free: 2.312 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001555/0.1075, allocations: 19.86 kB / 351.9 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.1076, allocations: 15.88 kB / 352 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003609/0.108, allocations: 96.53 kB / 352.1 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.1082, allocations: 127.6 kB / 352.2 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.1083, allocations: 49.72 kB / 352.2 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.1085, allocations: 55.7 kB / 352.3 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.369e-05/0.1086, allocations: 47.72 kB / 352.3 MB, free: 1.906 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.1086, allocations: 7.938 kB / 352.3 MB, free: 1.898 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.207e-05/0.1086, allocations: 8 kB / 352.3 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.184e-05/0.1087, allocations: 31.83 kB / 352.4 MB, free: 1.859 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.001e-05/0.1088, allocations: 55.61 kB / 352.4 MB, free: 1.805 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.1089, allocations: 131.5 kB / 352.6 MB, free: 1.676 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1089, allocations: 4 kB / 352.6 MB, free: 1.672 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.109, allocations: 0 / 352.6 MB, free: 1.672 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.109, allocations: 0 / 352.6 MB, free: 1.672 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005893/0.1096, allocations: 455.1 kB / 353 MB, free: 1.18 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.1096, allocations: 12.03 kB / 353 MB, free: 1.168 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.773e-05/0.1097, allocations: 20.66 kB / 353 MB, free: 1.148 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.1099, allocations: 225.9 kB / 353.3 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.1099, allocations: 12.12 kB / 353.3 MB, free: 0.875 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.11, allocations: 12 kB / 353.3 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005468/0.1105, allocations: 280.3 kB / 353.6 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.1105, allocations: 0 / 353.6 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.1106, allocations: 11.94 kB / 353.6 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1106, allocations: 0 / 353.6 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001968/0.1108, allocations: 67.89 kB / 353.6 MB, free: 496 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004728/0.1113, allocations: 439.3 kB / 354.1 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004549/0.1117, allocations: 290.1 kB / 354.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.1119, allocations: 108.4 kB / 354.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/0.112, allocations: 8 kB / 354.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.112, allocations: 46.48 kB / 354.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.483e-06/0.112, allocations: 0 / 354.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005385/0.1125, allocations: 221.3 kB / 354.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.1127, allocations: 191.9 kB / 354.9 MB, free: 15.01 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.1128, allocations: 183.1 kB / 355.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.1129, allocations: 29.7 kB / 355.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.532e-05/0.1129, allocations: 96.14 kB / 355.2 MB, free: 14.69 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.113, allocations: 15.89 kB / 355.2 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.706e-05/0.113, allocations: 45.8 kB / 355.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1131, allocations: 322.8 kB / 355.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.254e-05/0.1132, allocations: 23.92 kB / 355.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.1133, allocations: 133.1 kB / 355.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.1135, allocations: 157.6 kB / 355.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.1135, allocations: 0 / 355.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002558/0.1138, allocations: 173.1 kB / 356.1 MB, free: 13.71 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.1138, allocations: 11.94 kB / 356.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.1138, allocations: 4 kB / 356.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1139, allocations: 4.188 kB / 356.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.114, allocations: 31.92 kB / 356.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.114, allocations: 4 kB / 356.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.505e-05/0.1141, allocations: 16.42 kB / 356.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.1141, allocations: 19.98 kB / 356.2 MB, free: 13.62 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.000105/0.1142, allocations: 133.7 kB / 356.3 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002612/0.1145, allocations: 145.2 kB / 356.4 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.93e-05/0.1146, allocations: 25.41 kB / 356.5 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1146, allocations: 0 / 356.5 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1146, allocations: 7.938 kB / 356.5 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1146, allocations: 3.984 kB / 356.5 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.1149, allocations: 213.6 kB / 356.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1149, allocations: 3.938 kB / 356.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.115, allocations: 35.97 kB / 356.7 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.115, allocations: 8.406 kB / 356.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.115, allocations: 4 kB / 356.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.115, allocations: 4 kB / 356.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1151, allocations: 0 / 356.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003958/0.1155, allocations: 364.9 kB / 357.1 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.029e-05/0.1156, allocations: 108.8 kB / 357.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.1156, allocations: 7.938 kB / 357.2 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.1157, allocations: 11.98 kB / 357.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.889e-05/0.1158, allocations: 8 kB / 357.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.1158, allocations: 7.984 kB / 357.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.1159, allocations: 129.2 kB / 357.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1159, allocations: 0 / 357.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003129/0.1162, allocations: 20 kB / 357.4 MB, free: 12.3 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.0001238/0.1163, allocations: 115.1 kB / 357.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000298/0.1167, allocations: 107.8 kB / 357.6 MB, free: 12.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1167, allocations: 0 / 357.6 MB, free: 12.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.478e-05/0.1167, allocations: 15.98 kB / 357.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006759/0.1174, allocations: 101.1 kB / 357.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008254/0.1182, allocations: 414.9 kB / 358.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.1186, allocations: 0.7319 MB / 358.8 MB, free: 10.76 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.209e-05/0.1186, allocations: 17.55 kB / 358.9 MB, free: 10.74 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.946e-05/0.1187, allocations: 19.44 kB / 358.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1187, allocations: 0 / 358.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of Templates: time 0.004283/0.123, allocations: 1.552 MB / 360.4 MB, free: 9.188 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins/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