Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009522/0.0009522, allocations: 98.92 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001061/0.001061, allocations: 200.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.7 MB / 247.5 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002303/0.0002304, allocations: 8 kB / 308.4 MB, free: 0.832 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1043, allocations: 51.53 MB / 359.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.002357/0.1067, allocations: 1.566 MB / 361.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.1081, allocations: 0.6742 MB / 362.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.1083, allocations: 3.938 kB / 362.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.1085, allocations: 15.86 kB / 362.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001592/0.1087, allocations: 15.86 kB / 362.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004679/0.1092, allocations: 103.8 kB / 362.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000201/0.1094, allocations: 135.6 kB / 362.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.1095, allocations: 61.31 kB / 362.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.1097, allocations: 51.72 kB / 362.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.1098, allocations: 47.66 kB / 362.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.1099, allocations: 0 / 362.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.218e-05/0.1099, allocations: 8 kB / 362.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.67e-05/0.11, allocations: 15.92 kB / 362.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.08e-05/0.1101, allocations: 85.19 kB / 362.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.1102, allocations: 99.77 kB / 362.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1102, allocations: 0 / 362.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1102, allocations: 0 / 362.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.1103, allocations: 4 kB / 362.8 MB, free: 10.41 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005956/0.1109, allocations: 431.3 kB / 363.2 MB, free: 9.938 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.1109, allocations: 12.02 kB / 363.2 MB, free: 9.926 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.1111, allocations: 36.66 kB / 363.3 MB, free: 9.891 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.1114, allocations: 243.9 kB / 363.5 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.1114, allocations: 12.12 kB / 363.5 MB, free: 9.602 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.1114, allocations: 4 kB / 363.5 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006124/0.1121, allocations: 284.3 kB / 363.8 MB, free: 9.289 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.1121, allocations: 0 / 363.8 MB, free: 9.289 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.1121, allocations: 7.938 kB / 363.8 MB, free: 9.281 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.1121, allocations: 4 kB / 363.8 MB, free: 9.277 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002367/0.1124, allocations: 95.75 kB / 363.9 MB, free: 9.184 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004774/0.1128, allocations: 427.4 kB / 364.3 MB, free: 8.703 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004849/0.1133, allocations: 314.1 kB / 364.6 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.1135, allocations: 112.3 kB / 364.7 MB, free: 8.207 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.1136, allocations: 7.938 kB / 364.7 MB, free: 8.199 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.1136, allocations: 34.56 kB / 364.8 MB, free: 8.156 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 2.013e-06/0.1136, allocations: 4 kB / 364.8 MB, free: 8.152 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.000586/0.1142, allocations: 241.4 kB / 365 MB, free: 7.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.1143, allocations: 191.9 kB / 365.2 MB, free: 7.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.1145, allocations: 182.2 kB / 365.4 MB, free: 7.488 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.1146, allocations: 29.7 kB / 365.4 MB, free: 7.453 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.884e-05/0.1146, allocations: 108 kB / 365.5 MB, free: 7.344 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.1147, allocations: 11.97 kB / 365.5 MB, free: 7.332 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.1147, allocations: 21.81 kB / 365.5 MB, free: 7.305 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.1148, allocations: 330.8 kB / 365.9 MB, free: 6.973 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.848e-05/0.1149, allocations: 23.98 kB / 365.9 MB, free: 6.949 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.1151, allocations: 137.7 kB / 366 MB, free: 6.766 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/0.1153, allocations: 165.5 kB / 366.2 MB, free: 6.555 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1153, allocations: 0 / 366.2 MB, free: 6.555 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003097/0.1156, allocations: 169.2 kB / 366.4 MB, free: 6.383 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.1157, allocations: 11.88 kB / 366.4 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.1157, allocations: 4 kB / 366.4 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1157, allocations: 4.5 kB / 366.4 MB, free: 6.363 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.1158, allocations: 43.91 kB / 366.4 MB, free: 6.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.1158, allocations: 4 kB / 366.4 MB, free: 6.316 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.116, allocations: 15.94 kB / 366.4 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.116, allocations: 8 kB / 366.4 MB, free: 6.293 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.0001312/0.1161, allocations: 145.6 kB / 366.6 MB, free: 6.141 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003091/0.1164, allocations: 153.3 kB / 366.7 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.864e-05/0.1165, allocations: 25.39 kB / 366.8 MB, free: 5.961 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.1165, allocations: 0 / 366.8 MB, free: 5.961 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1165, allocations: 4 kB / 366.8 MB, free: 5.957 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1165, allocations: 0 / 366.8 MB, free: 5.957 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.1168, allocations: 217.5 kB / 367 MB, free: 5.695 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1168, allocations: 0 / 367 MB, free: 5.695 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.117, allocations: 44 kB / 367 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.117, allocations: 7.875 kB / 367 MB, free: 5.645 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.117, allocations: 8 kB / 367 MB, free: 5.637 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.117, allocations: 3.938 kB / 367 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.117, allocations: 4 kB / 367 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004407/0.1175, allocations: 361.1 kB / 367.4 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.1176, allocations: 116.8 kB / 367.5 MB, free: 5.117 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.1176, allocations: 7.938 kB / 367.5 MB, free: 5.109 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.1178, allocations: 19.98 kB / 367.5 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.1178, allocations: 3.938 kB / 367.5 MB, free: 5.086 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.1178, allocations: 12 kB / 367.6 MB, free: 5.074 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.118, allocations: 136.4 kB / 367.7 MB, free: 4.941 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.118, allocations: 0 / 367.7 MB, free: 4.941 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003239/0.1183, allocations: 20 kB / 367.7 MB, free: 4.922 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.0001302/0.1184, allocations: 103.2 kB / 367.8 MB, free: 4.812 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002885/0.1187, allocations: 116.7 kB / 367.9 MB, free: 4.699 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1187, allocations: 0 / 367.9 MB, free: 4.699 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.985e-05/0.1188, allocations: 24 kB / 367.9 MB, free: 4.676 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006719/0.1195, allocations: 112.3 kB / 368.1 MB, free: 4.566 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009202/0.1204, allocations: 455.3 kB / 368.5 MB, free: 4.074 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.1207, allocations: 0.7321 MB / 369.2 MB, free: 3.316 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.1208, allocations: 19.44 kB / 369.2 MB, free: 3.301 MB / 302.1 MB Notification: Performance of SimCode: time 4.6e-07/0.1208, allocations: 0 / 369.2 MB, free: 3.301 MB / 302.1 MB Notification: Performance of Templates: time 0.003458/0.1243, allocations: 1.752 MB / 371 MB, free: 1.566 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches