Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.001515/0.001515, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.00159/0.00159, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.663/1.663, allocations: 177 MB / 204.4 MB, free: 5.637 MB / 186.7 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.783e-05/2.943e-05, allocations: 6.312 kB / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003235/0.003265, allocations: 1.579 MB / 273.8 MB, free: 220 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.004676, allocations: 0.5024 MB / 274.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.004779, allocations: 3.938 kB / 274.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.823e-05/0.004837, allocations: 3.938 kB / 274.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001553/0.004992, allocations: 11.98 kB / 274.3 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00037/0.005362, allocations: 55.69 kB / 274.4 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.005504, allocations: 39.86 kB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.005605, allocations: 8 kB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.005785, allocations: 43.77 kB / 274.5 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.156e-05/0.005847, allocations: 7.984 kB / 274.5 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.005868, allocations: 4 kB / 274.5 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.564e-05/0.005914, allocations: 4 kB / 274.5 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.356e-05/0.005968, allocations: 11.94 kB / 274.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.047e-05/0.006008, allocations: 19.91 kB / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.006181, allocations: 47.81 kB / 274.6 MB, free: 15.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.006185, allocations: 0 / 274.6 MB, free: 15.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.006186, allocations: 0 / 274.6 MB, free: 15.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.006193, allocations: 8 kB / 274.6 MB, free: 15.44 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000502/0.006695, allocations: 290.1 kB / 274.8 MB, free: 15.13 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.00673, allocations: 11.98 kB / 274.9 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.006898, allocations: 24.88 kB / 274.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.007153, allocations: 133.6 kB / 275 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.007168, allocations: 12.31 kB / 275 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.007177, allocations: 384 / 275 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.007434, allocations: 89.67 kB / 275.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.007441, allocations: 192 / 275.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.00745, allocations: 4.312 kB / 275.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.007457, allocations: 3.938 kB / 275.1 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.156e-05/0.007538, allocations: 23.92 kB / 275.1 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002954/0.007834, allocations: 205.4 kB / 275.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.893e-05/0.007933, allocations: 49.2 kB / 275.4 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.587e-05/0.007988, allocations: 21.72 kB / 275.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.008005, allocations: 0 / 275.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.008039, allocations: 38.5 kB / 275.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.00804, allocations: 0 / 275.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002669/0.008307, allocations: 65.56 kB / 275.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.072e-05/0.008377, allocations: 89.05 kB / 275.6 MB, free: 14.24 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.008528, allocations: 140.7 kB / 275.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.008547, allocations: 25.7 kB / 275.8 MB, free: 14.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.323e-05/0.008611, allocations: 88.39 kB / 275.9 MB, free: 13.97 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.38e-05/0.008624, allocations: 4 kB / 275.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.363e-05/0.008668, allocations: 21.66 kB / 275.9 MB, free: 13.94 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.008844, allocations: 314.8 kB / 276.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.012e-05/0.008884, allocations: 4 kB / 276.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.491e-05/0.008919, allocations: 11.98 kB / 276.2 MB, free: 13.61 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.53e-05/0.008994, allocations: 24.84 kB / 276.2 MB, free: 13.58 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.008996, allocations: 0 / 276.2 MB, free: 13.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001249/0.009121, allocations: 53.69 kB / 276.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.009139, allocations: 7.938 kB / 276.3 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.009145, allocations: 4 kB / 276.3 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.009166, allocations: 0 / 276.3 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.434e-05/0.009231, allocations: 3.984 kB / 276.3 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.009238, allocations: 4 kB / 276.3 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.297e-05/0.009271, allocations: 0 / 276.3 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.009276, allocations: 0 / 276.3 MB, free: 13.5 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0001036/0.00938, allocations: 117.8 kB / 276.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.353e-05/0.009454, allocations: 49.61 kB / 276.5 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.174e-05/0.009485, allocations: 11.81 kB / 276.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.009487, allocations: 0 / 276.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.009491, allocations: 0 / 276.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.009496, allocations: 4 kB / 276.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.009667, allocations: 117.3 kB / 276.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.009668, allocations: 0 / 276.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.134e-05/0.00972, allocations: 7.938 kB / 276.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.009722, allocations: 3.938 kB / 276.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.009736, allocations: 7.938 kB / 276.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.009737, allocations: 0 / 276.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.009738, allocations: 4.031 kB / 276.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.009941, allocations: 160.3 kB / 276.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.83e-05/0.009979, allocations: 11.95 kB / 276.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.01, allocations: 11.91 kB / 276.8 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.451e-05/0.01008, allocations: 0 / 276.8 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.01011, allocations: 4 kB / 276.8 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.01012, allocations: 0 / 276.8 MB, free: 12.94 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.388e-05/0.01021, allocations: 111.2 kB / 276.9 MB, free: 12.83 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01021, allocations: 0 / 276.9 MB, free: 12.83 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002201/0.01043, allocations: 8.031 kB / 276.9 MB, free: 12.82 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001162/0.01055, allocations: 99.19 kB / 277 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001289/0.01067, allocations: 19.98 kB / 277 MB, free: 12.69 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01068, allocations: 0 / 277 MB, free: 12.69 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.161e-05/0.01072, allocations: 7.984 kB / 277 MB, free: 12.68 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.01106, allocations: 15.41 kB / 277.1 MB, free: 12.67 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003585/0.01142, allocations: 173 kB / 277.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.537e-05/0.0115, allocations: 75.33 kB / 277.3 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.826e-05/0.01153, allocations: 0 / 277.3 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.044e-05/0.01156, allocations: 8.5 kB / 277.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01156, allocations: 4 kB / 277.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of Templates: time 0.002964/0.01453, allocations: 0.518 MB / 277.8 MB, free: 11.86 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.519547798088752]