Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001927/0.001927, allocations: 91.61 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002103/0.002103, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.643/1.643, allocations: 177.2 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.446e-06/3.446e-06, allocations: 0 / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.277e-05/8.621e-05, allocations: 2.312 kB / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003837/0.003923, allocations: 1.59 MB / 273.9 MB, free: 212 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.005216, allocations: 0.5103 MB / 274.4 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.496e-05/0.005301, allocations: 3.938 kB / 274.4 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.09e-05/0.005372, allocations: 7.922 kB / 274.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.005523, allocations: 11.92 kB / 274.5 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003352/0.005859, allocations: 55.7 kB / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.006001, allocations: 43.84 kB / 274.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.135e-05/0.006093, allocations: 4 kB / 274.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.006249, allocations: 39.83 kB / 274.6 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.251e-05/0.006301, allocations: 4 kB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.006327, allocations: 4 kB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.018e-05/0.006367, allocations: 4 kB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.52e-05/0.006422, allocations: 15.92 kB / 274.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.352e-05/0.006455, allocations: 15.92 kB / 274.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.006738, allocations: 55.73 kB / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.006745, allocations: 8 kB / 274.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.006746, allocations: 0 / 274.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.006752, allocations: 0 / 274.7 MB, free: 15.42 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.0006253/0.007377, allocations: 396 kB / 275.1 MB, free: 15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.007419, allocations: 8.031 kB / 275.1 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.007605, allocations: 20.88 kB / 275.1 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.00785, allocations: 136.5 kB / 275.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.007864, allocations: 4.375 kB / 275.3 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.007874, allocations: 4.375 kB / 275.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.008158, allocations: 104.9 kB / 275.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.008166, allocations: 192 / 275.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.008176, allocations: 384 / 275.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.008184, allocations: 3.938 kB / 275.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.424e-05/0.008258, allocations: 23.91 kB / 275.4 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003898/0.008648, allocations: 279.4 kB / 275.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.00877, allocations: 62.12 kB / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.866e-05/0.008849, allocations: 27.42 kB / 275.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.008869, allocations: 0 / 275.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.592e-05/0.008915, allocations: 45.33 kB / 275.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.008916, allocations: 0 / 275.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002759/0.009192, allocations: 61.58 kB / 275.9 MB, free: 14.1 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.133e-05/0.009273, allocations: 77.11 kB / 275.9 MB, free: 14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.009478, allocations: 205 kB / 276.1 MB, free: 13.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.0095, allocations: 29.7 kB / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.009627, allocations: 135.1 kB / 276.3 MB, free: 13.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.009646, allocations: 8 kB / 276.3 MB, free: 13.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.355e-05/0.009689, allocations: 19.33 kB / 276.3 MB, free: 13.58 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003075/0.009997, allocations: 0.4923 MB / 276.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.978e-05/0.01004, allocations: 7.938 kB / 276.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.367e-05/0.01006, allocations: 4 kB / 276.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.61e-05/0.01014, allocations: 19.67 kB / 276.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01014, allocations: 4 kB / 276.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000106/0.01024, allocations: 41.69 kB / 276.9 MB, free: 12.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.01027, allocations: 16.03 kB / 276.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.01027, allocations: 0 / 276.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.01029, allocations: 0 / 276.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.504e-05/0.01037, allocations: 4 kB / 276.9 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.01037, allocations: 0 / 276.9 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.743e-05/0.0104, allocations: 0 / 276.9 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.01041, allocations: 0 / 276.9 MB, free: 12.97 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.0001425/0.01055, allocations: 160.5 kB / 277.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.741e-05/0.01064, allocations: 49.58 kB / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.893e-05/0.0107, allocations: 7.812 kB / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.0107, allocations: 8.031 kB / 277.1 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.01071, allocations: 0 / 277.1 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.01071, allocations: 0 / 277.1 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.01092, allocations: 136.6 kB / 277.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.01092, allocations: 0 / 277.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.886e-05/0.01097, allocations: 4 kB / 277.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.01097, allocations: 0 / 277.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.01098, allocations: 11.88 kB / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.01099, allocations: 0 / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01099, allocations: 0 / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.01125, allocations: 215.5 kB / 277.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.0113, allocations: 19.92 kB / 277.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.01132, allocations: 3.938 kB / 277.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.33e-05/0.01138, allocations: 4 kB / 277.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.01142, allocations: 3.984 kB / 277.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.01143, allocations: 0 / 277.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001169/0.01154, allocations: 147.2 kB / 277.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01154, allocations: 0 / 277.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002146/0.01176, allocations: 4 kB / 277.7 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 0.0001552/0.01191, allocations: 99.28 kB / 277.8 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001564/0.01207, allocations: 27.61 kB / 277.8 MB, free: 12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.01207, allocations: 4 kB / 277.8 MB, free: 12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.867e-05/0.01212, allocations: 15.69 kB / 277.8 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.01249, allocations: 12.3 kB / 277.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004259/0.01291, allocations: 173.2 kB / 278 MB, free: 11.76 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.01303, allocations: 71.56 kB / 278.1 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.131e-05/0.01307, allocations: 3.984 kB / 278.1 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.938e-05/0.01311, allocations: 12.5 kB / 278.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01311, allocations: 0 / 278.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of Templates: time 0.003808/0.01692, allocations: 0.5196 MB / 278.6 MB, free: 11.15 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.7121945599792525]