Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.HoldWithDAeffects2,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.HoldWithDAeffects2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,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.HoldWithDAeffects2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 113.5 kB / 17.7 MB, free: 5.309 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.001309/0.001309, allocations: 191 kB / 18.63 MB, free: 4.375 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.331/1.331, allocations: 222.9 MB / 242.3 MB, free: 15.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 51.67 kB / 302.1 MB, free: 5.207 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1134, allocations: 49.44 MB / 351.5 MB, free: 3.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003436/0.1169, allocations: 1.847 MB / 353.4 MB, free: 1.871 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.1181, allocations: 0.6312 MB / 354 MB, free: 1.238 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.1182, allocations: 4 kB / 354 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001639/0.1184, allocations: 23.73 kB / 354 MB, free: 1.211 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.1186, allocations: 27.78 kB / 354 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000466/0.119, allocations: 95.77 kB / 354.1 MB, free: 1.09 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002093/0.1193, allocations: 139.6 kB / 354.3 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.1194, allocations: 57.72 kB / 354.3 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.1196, allocations: 55.77 kB / 354.4 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.1198, allocations: 59.59 kB / 354.4 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.1198, allocations: 8 kB / 354.5 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.446e-05/0.1198, allocations: 16 kB / 354.5 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.669e-05/0.1199, allocations: 23.92 kB / 354.5 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.834e-05/0.12, allocations: 63.59 kB / 354.6 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.1202, allocations: 143.4 kB / 354.7 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1202, allocations: 0 / 354.7 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.1202, allocations: 0 / 354.7 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.1202, allocations: 0 / 354.7 MB, free: 0.5312 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.0006628/0.1209, allocations: 454.8 kB / 355.1 MB, free: 40 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.1209, allocations: 15.89 kB / 355.2 MB, free: 24 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/0.121, allocations: 24.66 kB / 355.2 MB, free: 0 / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003925/0.1214, allocations: 237.8 kB / 355.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.768e-05/0.1214, allocations: 12.12 kB / 355.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.1214, allocations: 8 kB / 355.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005855/0.122, allocations: 287.1 kB / 355.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1221, allocations: 4 kB / 355.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.1221, allocations: 7.938 kB / 355.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.1221, allocations: 8 kB / 355.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.1223, allocations: 71.88 kB / 355.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005392/0.1228, allocations: 431.3 kB / 356.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004551/0.1233, allocations: 302.1 kB / 356.5 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.1235, allocations: 112.2 kB / 356.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.1235, allocations: 0 / 356.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.1236, allocations: 46.5 kB / 356.7 MB, free: 14.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.122e-06/0.1236, allocations: 0 / 356.7 MB, free: 14.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005421/0.1241, allocations: 217.2 kB / 356.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/0.1243, allocations: 196.3 kB / 357.1 MB, free: 13.83 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.1245, allocations: 187 kB / 357.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.1245, allocations: 25.7 kB / 357.3 MB, free: 13.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.92e-05/0.1246, allocations: 108.5 kB / 357.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.1246, allocations: 15.8 kB / 357.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.492e-05/0.1247, allocations: 33.72 kB / 357.4 MB, free: 13.44 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1248, allocations: 326.8 kB / 357.8 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.77e-05/0.1249, allocations: 27.98 kB / 357.8 MB, free: 13.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.1251, allocations: 139.4 kB / 357.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/0.1253, allocations: 170.4 kB / 358.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1253, allocations: 0 / 358.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002683/0.1256, allocations: 177.3 kB / 358.3 MB, free: 12.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.1256, allocations: 8 kB / 358.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.1256, allocations: 4 kB / 358.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.1256, allocations: 4 kB / 358.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.1258, allocations: 35.92 kB / 358.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.1258, allocations: 7.984 kB / 358.3 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.1259, allocations: 23.78 kB / 358.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.1259, allocations: 8 kB / 358.3 MB, free: 12.41 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001206/0.1261, allocations: 149.9 kB / 358.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002715/0.1263, allocations: 141.8 kB / 358.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.885e-05/0.1264, allocations: 25.39 kB / 358.7 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1264, allocations: 4 kB / 358.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.1264, allocations: 4 kB / 358.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1264, allocations: 3.938 kB / 358.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/0.1267, allocations: 209.6 kB / 358.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.1267, allocations: 12.02 kB / 358.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.1269, allocations: 35.92 kB / 358.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.1269, allocations: 4.234 kB / 358.9 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.1269, allocations: 4 kB / 358.9 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.1269, allocations: 4 kB / 358.9 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1269, allocations: 3.984 kB / 358.9 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003961/0.1273, allocations: 365 kB / 359.3 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.1274, allocations: 116.8 kB / 359.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.1275, allocations: 0 / 359.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.1276, allocations: 19.92 kB / 359.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.1277, allocations: 7.938 kB / 359.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.1277, allocations: 8 kB / 359.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001097/0.1278, allocations: 133.2 kB / 359.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.573e-05/0.1278, allocations: 0 / 359.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003191/0.1282, allocations: 27.94 kB / 359.6 MB, free: 11.04 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: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0001281/0.1283, allocations: 99.25 kB / 359.7 MB, free: 10.94 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003072/0.1286, allocations: 131.9 kB / 359.8 MB, free: 10.81 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1286, allocations: 0 / 359.8 MB, free: 10.81 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.303e-05/0.1287, allocations: 15.98 kB / 359.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006035/0.1293, allocations: 99.92 kB / 359.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006027/0.1299, allocations: 328.3 kB / 360.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.1302, allocations: 0.7241 MB / 361 MB, free: 9.586 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.839e-05/0.1303, allocations: 17.55 kB / 361 MB, free: 9.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.1303, allocations: 19.44 kB / 361 MB, free: 9.551 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1303, allocations: 0 / 361 MB, free: 9.551 MB / 302.1 MB Notification: Performance of Templates: time 0.004629/0.135, allocations: 1.735 MB / 362.8 MB, free: 7.84 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches