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.001193/0.001194, allocations: 108.6 kB / 17.29 MB, free: 6.188 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.001336/0.001336, allocations: 197.3 kB / 18.21 MB, free: 5.266 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.42/1.42, allocations: 222.9 MB / 241.9 MB, free: 13.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 48.59 kB / 300.8 MB, free: 5.988 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09336/0.0945, allocations: 49.44 MB / 350.2 MB, free: 4.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003465/0.09799, allocations: 1.919 MB / 352.2 MB, free: 2.605 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.09916, allocations: 0.6227 MB / 352.8 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.09935, allocations: 7.938 kB / 352.8 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.09952, allocations: 19.86 kB / 352.8 MB, free: 1.957 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.09971, allocations: 11.86 kB / 352.8 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004124/0.1001, allocations: 95.73 kB / 352.9 MB, free: 1.852 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000201/0.1003, allocations: 139.6 kB / 353 MB, free: 1.715 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.1005, allocations: 53.73 kB / 353.1 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.1007, allocations: 55.72 kB / 353.2 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.335e-05/0.1008, allocations: 51.7 kB / 353.2 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.1008, allocations: 12 kB / 353.2 MB, free: 1.543 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.34e-05/0.1008, allocations: 8 kB / 353.2 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.5e-05/0.1009, allocations: 35.84 kB / 353.3 MB, free: 1.5 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.781e-05/0.101, allocations: 63.61 kB / 353.3 MB, free: 1.438 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.1011, allocations: 99.81 kB / 353.4 MB, free: 1.34 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1011, allocations: 0 / 353.4 MB, free: 1.34 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1012, allocations: 0 / 353.4 MB, free: 1.34 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.1012, allocations: 4 kB / 353.4 MB, free: 1.336 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.0006522/0.1018, allocations: 451.1 kB / 353.9 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.1019, allocations: 11.89 kB / 353.9 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.893e-05/0.1019, allocations: 20.66 kB / 353.9 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.1022, allocations: 245.8 kB / 354.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.1023, allocations: 12.12 kB / 354.1 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.1023, allocations: 12 kB / 354.2 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000563/0.1029, allocations: 274.9 kB / 354.4 MB, free: 220 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1029, allocations: 0 / 354.4 MB, free: 220 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.1029, allocations: 0 / 354.4 MB, free: 220 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1029, allocations: 4 kB / 354.4 MB, free: 216 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.1031, allocations: 75.88 kB / 354.5 MB, free: 140 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004901/0.1036, allocations: 431.4 kB / 354.9 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004405/0.1041, allocations: 298 kB / 355.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.1043, allocations: 112.3 kB / 355.3 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.1043, allocations: 0 / 355.3 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.1043, allocations: 38.5 kB / 355.4 MB, free: 15.12 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.082e-06/0.1043, allocations: 0 / 355.4 MB, free: 15.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005242/0.1049, allocations: 225.2 kB / 355.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.643e-05/0.105, allocations: 187.9 kB / 355.8 MB, free: 14.67 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.1051, allocations: 179.1 kB / 355.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.1051, allocations: 34.08 kB / 356 MB, free: 14.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.599e-05/0.1052, allocations: 104.1 kB / 356.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.1052, allocations: 11.91 kB / 356.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.1053, allocations: 33.61 kB / 356.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1054, allocations: 326.8 kB / 356.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.476e-05/0.1055, allocations: 23.98 kB / 356.5 MB, free: 13.94 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.1056, allocations: 134.5 kB / 356.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.1058, allocations: 161.6 kB / 356.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1058, allocations: 0 / 356.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000288/0.1061, allocations: 165.1 kB / 356.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1061, allocations: 7.938 kB / 356.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.1062, allocations: 12.31 kB / 356.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1062, allocations: 8.5 kB / 356.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.1063, allocations: 43.91 kB / 357 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.1063, allocations: 4 kB / 357 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.475e-05/0.1064, allocations: 15.88 kB / 357 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.1064, allocations: 8 kB / 357 MB, free: 13.28 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.0001093/0.1065, allocations: 141.7 kB / 357.1 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000262/0.1068, allocations: 141.4 kB / 357.3 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.568e-05/0.1069, allocations: 25.44 kB / 357.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.1069, allocations: 12.02 kB / 357.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1069, allocations: 4 kB / 357.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1069, allocations: 0 / 357.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002558/0.1072, allocations: 213.5 kB / 357.5 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.1072, allocations: 0 / 357.5 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.1073, allocations: 39.91 kB / 357.6 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.1073, allocations: 3.938 kB / 357.6 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.1074, allocations: 8 kB / 357.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1074, allocations: 0 / 357.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1074, allocations: 4 kB / 357.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003717/0.1077, allocations: 359.5 kB / 357.9 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.783e-05/0.1078, allocations: 112.8 kB / 358.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.1079, allocations: 11.94 kB / 358.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.108, allocations: 11.98 kB / 358.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.1081, allocations: 8 kB / 358.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.1081, allocations: 4 kB / 358.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.46e-05/0.1082, allocations: 133.2 kB / 358.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1082, allocations: 0 / 358.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003181/0.1085, allocations: 20 kB / 358.2 MB, free: 11.95 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.0001104/0.1086, allocations: 111.1 kB / 358.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002727/0.1089, allocations: 119.8 kB / 358.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.1089, allocations: 0 / 358.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.186e-05/0.109, allocations: 12.94 kB / 358.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006736/0.1097, allocations: 116.5 kB / 358.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00083/0.1105, allocations: 437 kB / 359 MB, free: 11.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.1108, allocations: 0.7202 MB / 359.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.566e-05/0.1108, allocations: 19.42 kB / 359.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1108, allocations: 3.938 kB / 359.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of Templates: time 0.003403/0.1142, allocations: 1.75 MB / 361.5 MB, free: 8.602 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/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