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.001079/0.001079, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001186/0.001186, allocations: 162.3 kB / 24.99 MB, free: 8.801 MB / 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.016/1.016, allocations: 177 MB / 205.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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.443e-06/1.443e-06, allocations: 0 / 273 MB, free: 1.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.18e-05, allocations: 6.312 kB / 273 MB, free: 1.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.008419/0.008441, allocations: 1.611 MB / 274.6 MB, free: 132 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008132/0.009254, allocations: 0.5258 MB / 275.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.725e-05/0.009332, allocations: 0 / 275.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.819e-05/0.00938, allocations: 7.938 kB / 275.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.009517, allocations: 7.922 kB / 275.2 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.009785, allocations: 59.69 kB / 275.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.973e-05/0.009885, allocations: 39.86 kB / 275.2 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.27e-05/0.009978, allocations: 0 / 275.2 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.0101, allocations: 43.83 kB / 275.3 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.63e-05/0.01015, allocations: 11.98 kB / 275.3 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.01016, allocations: 0 / 275.3 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.102e-05/0.0102, allocations: 12 kB / 275.3 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.932e-05/0.01024, allocations: 15.92 kB / 275.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.269e-05/0.01026, allocations: 11.92 kB / 275.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006135/0.0164, allocations: 39.83 kB / 275.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.0164, allocations: 0 / 275.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.0164, allocations: 0 / 275.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.289e-06/0.01641, allocations: 0 / 275.4 MB, free: 15.35 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.0004104/0.01682, allocations: 396.3 kB / 275.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.01686, allocations: 15.98 kB / 275.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.01698, allocations: 16.89 kB / 275.8 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.01715, allocations: 145.1 kB / 275.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.01716, allocations: 4.375 kB / 275.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.01717, allocations: 4.375 kB / 276 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.01737, allocations: 113.5 kB / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.01738, allocations: 192 / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.01738, allocations: 384 / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.01739, allocations: 11.94 kB / 276.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.359e-05/0.01742, allocations: 8 kB / 276.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002448/0.01766, allocations: 267.5 kB / 276.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.277e-05/0.01771, allocations: 62.16 kB / 276.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.352e-05/0.01774, allocations: 19.31 kB / 276.4 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.01775, allocations: 0 / 276.4 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.01777, allocations: 41.39 kB / 276.5 MB, free: 14.1 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.01778, allocations: 0 / 276.5 MB, free: 14.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001507/0.01793, allocations: 53.83 kB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.01797, allocations: 81.11 kB / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.0181, allocations: 197.7 kB / 276.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.108e-06/0.0181, allocations: 25.7 kB / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.01815, allocations: 130.9 kB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.266e-05/0.01817, allocations: 3.984 kB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/0.0182, allocations: 23.33 kB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.01832, allocations: 0.4884 MB / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.033e-05/0.01833, allocations: 0 / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.464e-06/0.01834, allocations: 0 / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.788e-05/0.01837, allocations: 19.69 kB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01837, allocations: 0 / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.124e-05/0.01842, allocations: 37.69 kB / 277.5 MB, free: 12.97 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.01843, allocations: 15.06 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.01844, allocations: 0 / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.01845, allocations: 0 / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.055e-05/0.0185, allocations: 4 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.01851, allocations: 0 / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.884e-05/0.01852, allocations: 3.984 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.01853, allocations: 0 / 277.5 MB, free: 12.95 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 6.119e-05/0.01859, allocations: 160.6 kB / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.01863, allocations: 41.53 kB / 277.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/0.01866, allocations: 15.8 kB / 277.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.01866, allocations: 0 / 277.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.01867, allocations: 0 / 277.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.01867, allocations: 7.938 kB / 277.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.01879, allocations: 128.6 kB / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.01879, allocations: 0 / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.019e-05/0.01881, allocations: 4 kB / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.01881, allocations: 0 / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.01882, allocations: 15.95 kB / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.01882, allocations: 0 / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.01882, allocations: 0 / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.891e-05/0.01892, allocations: 199.5 kB / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.876e-05/0.01895, allocations: 19.94 kB / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.01896, allocations: 3.938 kB / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.8e-05/0.01901, allocations: 0 / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.907e-05/0.01904, allocations: 7.984 kB / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.01904, allocations: 0 / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.721e-05/0.0191, allocations: 143.2 kB / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.0191, allocations: 4.031 kB / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.006225/0.02533, allocations: 4 kB / 278.3 MB, free: 12.14 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 7.382e-05/0.0254, allocations: 99.19 kB / 278.4 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.075e-05/0.02547, allocations: 15.67 kB / 278.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.02547, allocations: 3.938 kB / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.534e-05/0.02549, allocations: 11.69 kB / 278.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.02577, allocations: 12.31 kB / 278.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004457/0.02622, allocations: 165.6 kB / 278.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.853e-05/0.02626, allocations: 59.34 kB / 278.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.179e-05/0.02628, allocations: 4 kB / 278.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.386e-05/0.0263, allocations: 8.5 kB / 278.6 MB, free: 11.69 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.0263, allocations: 0 / 278.6 MB, free: 11.69 MB / 266.7 MB Notification: Performance of Templates: time 0.00475/0.03105, allocations: 0.5288 MB / 279.2 MB, free: 11.17 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8920988240279257]