Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001371/0.001371, allocations: 80.22 kB / 21.25 MB, free: 404 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001479/0.001479, allocations: 167.1 kB / 24.5 MB, free: 3.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 177.1 MB / 204.7 MB, free: 8.91 MB / 190.1 MB " [Timeout remaining time 178] 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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 64.61 kB / 325.5 MB, free: 224 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1178, allocations: 53.38 MB / 378.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003293/0.1211, allocations: 1.627 MB / 380.5 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.1222, allocations: 0.5337 MB / 381.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.625e-05/0.1223, allocations: 4 kB / 381.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.872e-05/0.1223, allocations: 7.875 kB / 381.1 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001446/0.1224, allocations: 19.84 kB / 381.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.1228, allocations: 59.81 kB / 381.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.1229, allocations: 55.8 kB / 381.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.1231, allocations: 11.98 kB / 381.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.1232, allocations: 35.84 kB / 381.3 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.794e-05/0.1233, allocations: 23.86 kB / 381.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.1233, allocations: 4 kB / 381.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.597e-05/0.1234, allocations: 4 kB / 381.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.948e-05/0.1235, allocations: 19.92 kB / 381.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.432e-05/0.1235, allocations: 27.8 kB / 381.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.1237, allocations: 75.59 kB / 381.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1238, allocations: 0 / 381.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1238, allocations: 0 / 381.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.894e-06/0.1238, allocations: 0 / 381.4 MB, free: 13.04 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006553/0.1244, allocations: 317.8 kB / 381.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.1245, allocations: 11.98 kB / 381.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002101/0.1247, allocations: 20.88 kB / 381.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003396/0.125, allocations: 146.9 kB / 381.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.125, allocations: 4.375 kB / 381.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.125, allocations: 8.125 kB / 381.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003285/0.1254, allocations: 138.6 kB / 382 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1254, allocations: 0 / 382 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.1254, allocations: 4 kB / 382 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.1254, allocations: 8 kB / 382.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.315e-05/0.1255, allocations: 23.92 kB / 382.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003493/0.1258, allocations: 235.1 kB / 382.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.126, allocations: 90.42 kB / 382.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.389e-05/0.1261, allocations: 47.42 kB / 382.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.1261, allocations: 0 / 382.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.1261, allocations: 38.56 kB / 382.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.21e-07/0.1261, allocations: 0 / 382.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.000289/0.1264, allocations: 101.5 kB / 382.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.1265, allocations: 140.5 kB / 382.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.1267, allocations: 141.4 kB / 382.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.1267, allocations: 29.7 kB / 382.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.928e-05/0.1268, allocations: 92.12 kB / 383 MB, free: 11.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.1268, allocations: 16.39 kB / 383 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.1268, allocations: 29.66 kB / 383 MB, free: 11.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.127, allocations: 314.8 kB / 383.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.707e-05/0.127, allocations: 15.98 kB / 383.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.397e-05/0.1271, allocations: 48.22 kB / 383.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.1272, allocations: 64.22 kB / 383.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1272, allocations: 4 kB / 383.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001565/0.1274, allocations: 81.5 kB / 383.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.1274, allocations: 11.28 kB / 383.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1274, allocations: 128 / 383.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.1274, allocations: 8 kB / 383.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.023e-05/0.1275, allocations: 8 kB / 383.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.1275, allocations: 3.984 kB / 383.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.588e-05/0.1276, allocations: 12.09 kB / 383.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.1276, allocations: 11.94 kB / 383.6 MB, free: 10.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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 9.925e-05/0.1277, allocations: 117.8 kB / 383.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.231e-05/0.1278, allocations: 57.58 kB / 383.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.1278, allocations: 11.97 kB / 383.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1278, allocations: 3.984 kB / 383.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.1278, allocations: 4 kB / 383.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.1278, allocations: 0 / 383.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.128, allocations: 121.2 kB / 383.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.128, allocations: 0 / 383.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.047e-05/0.128, allocations: 20.05 kB / 383.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.128, allocations: 0 / 383.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.1281, allocations: 11.94 kB / 383.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1281, allocations: 3.938 kB / 383.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1281, allocations: 0 / 383.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.1283, allocations: 198 kB / 384.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.15e-05/0.1283, allocations: 15.94 kB / 384.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.1284, allocations: 4 kB / 384.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.279e-05/0.1284, allocations: 7.984 kB / 384.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-05/0.1285, allocations: 8 kB / 384.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.1285, allocations: 3.938 kB / 384.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.187e-05/0.1285, allocations: 115.2 kB / 384.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1285, allocations: 0 / 384.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002273/0.1288, allocations: 15.94 kB / 384.3 MB, free: 9.789 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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.0001002/0.1289, allocations: 99.19 kB / 384.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001664/0.129, allocations: 47.91 kB / 384.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.129, allocations: 4.312 kB / 384.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.938e-05/0.1291, allocations: 8 kB / 384.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.1294, allocations: 39.92 kB / 384.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003709/0.1298, allocations: 197.8 kB / 384.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.657e-05/0.1299, allocations: 91.38 kB / 384.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.742e-05/0.1299, allocations: 12.38 kB / 384.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.397e-05/0.13, allocations: 12.5 kB / 384.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.13, allocations: 0 / 384.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of Templates: time 0.003329/0.1333, allocations: 0.7787 MB / 385.6 MB, free: 8.469 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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: 4.392239709966816]