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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 118.5 kB / 18.41 MB, free: 4.555 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001939/0.00194, allocations: 186.7 kB / 21.35 MB, free: 1.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 222.9 MB / 247 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] 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=5019,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=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 51.92 kB / 358.7 MB, free: 8.355 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1136, allocations: 49.44 MB / 408.1 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003582/0.1173, allocations: 1.855 MB / 410 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.1188, allocations: 0.6273 MB / 410.6 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001779/0.119, allocations: 7.938 kB / 410.6 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002136/0.1193, allocations: 19.8 kB / 410.6 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.1194, allocations: 27.72 kB / 410.6 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004759/0.1199, allocations: 99.78 kB / 410.7 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.1202, allocations: 139.6 kB / 410.9 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002313/0.1204, allocations: 61.7 kB / 410.9 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.1206, allocations: 51.72 kB / 411 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.1207, allocations: 51.7 kB / 411 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.309e-05/0.1208, allocations: 12 kB / 411.1 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.945e-05/0.1208, allocations: 8 kB / 411.1 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.1209, allocations: 39.84 kB / 411.1 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.1211, allocations: 59.61 kB / 411.2 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003367/0.1214, allocations: 147.2 kB / 411.3 MB, free: 3.672 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.1214, allocations: 0 / 411.3 MB, free: 3.672 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1214, allocations: 0 / 411.3 MB, free: 3.672 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.1214, allocations: 0 / 411.3 MB, free: 3.672 MB / 334.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.0008829/0.1223, allocations: 458.8 kB / 411.8 MB, free: 3.176 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.1224, allocations: 11.89 kB / 411.8 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.765e-05/0.1225, allocations: 24.8 kB / 411.8 MB, free: 3.141 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000526/0.123, allocations: 245.1 kB / 412 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.123, allocations: 16.06 kB / 412 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.1231, allocations: 12 kB / 412.1 MB, free: 2.832 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000691/0.1238, allocations: 269.6 kB / 412.3 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1238, allocations: 0 / 412.3 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.1238, allocations: 3.984 kB / 412.3 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.1238, allocations: 8 kB / 412.3 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002469/0.1241, allocations: 71.89 kB / 412.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006498/0.1247, allocations: 431.4 kB / 412.8 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005652/0.1253, allocations: 294.2 kB / 413.1 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/0.1255, allocations: 108.2 kB / 413.2 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.1256, allocations: 4 kB / 413.2 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.1256, allocations: 42.5 kB / 413.3 MB, free: 1.445 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.403e-06/0.1256, allocations: 3.938 kB / 413.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006208/0.1263, allocations: 217.3 kB / 413.5 MB, free: 1.223 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001747/0.1264, allocations: 196.2 kB / 413.7 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.1267, allocations: 179.1 kB / 413.8 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.1267, allocations: 29.7 kB / 413.9 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.162e-05/0.1268, allocations: 108.1 kB / 414 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.1268, allocations: 12.31 kB / 414 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.309e-05/0.1269, allocations: 33.7 kB / 414 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.1271, allocations: 326.8 kB / 414.3 MB, free: 288 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.817e-05/0.1272, allocations: 19.98 kB / 414.4 MB, free: 268 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.1274, allocations: 140.7 kB / 414.5 MB, free: 76 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.1276, allocations: 165.7 kB / 414.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.1276, allocations: 0 / 414.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002889/0.1279, allocations: 157.6 kB / 414.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.128, allocations: 16.03 kB / 414.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.128, allocations: 4 kB / 414.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.128, allocations: 4 kB / 414.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.1282, allocations: 39.92 kB / 414.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.1282, allocations: 7.938 kB / 414.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.1283, allocations: 15.89 kB / 414.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.1283, allocations: 11.98 kB / 414.9 MB, free: 15.6 MB / 350.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.0001399/0.1285, allocations: 133.7 kB / 415 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003082/0.1288, allocations: 149.6 kB / 415.2 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.799e-05/0.1289, allocations: 25.39 kB / 415.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.1289, allocations: 4 kB / 415.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.1289, allocations: 0 / 415.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.1289, allocations: 4 kB / 415.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003399/0.1293, allocations: 217.5 kB / 415.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.1293, allocations: 4 kB / 415.4 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.1294, allocations: 35.92 kB / 415.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/0.1294, allocations: 7.969 kB / 415.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.1295, allocations: 15.98 kB / 415.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.1295, allocations: 0 / 415.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.1295, allocations: 4 kB / 415.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004862/0.13, allocations: 349.2 kB / 415.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.1301, allocations: 108.9 kB / 415.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.611e-05/0.1301, allocations: 15.77 kB / 416 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.1303, allocations: 11.98 kB / 416 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/0.1304, allocations: 4 kB / 416 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.1304, allocations: 4 kB / 416 MB, free: 14.42 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001503/0.1305, allocations: 137.2 kB / 416.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1305, allocations: 4 kB / 416.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003338/0.1309, allocations: 20 kB / 416.1 MB, free: 14.26 MB / 350.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.0001555/0.131, allocations: 107.1 kB / 416.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003257/0.1314, allocations: 120.6 kB / 416.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1314, allocations: 4.062 kB / 416.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.944e-05/0.1315, allocations: 15.98 kB / 416.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006574/0.1321, allocations: 93.95 kB / 416.5 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009775/0.1331, allocations: 393.1 kB / 416.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.1336, allocations: 0.7318 MB / 417.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.825e-05/0.1336, allocations: 15.44 kB / 417.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1336, allocations: 4 kB / 417.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of Templates: time 0.00455/0.1382, allocations: 1.772 MB / 419.4 MB, free: 10.96 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.500105469021946]