Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.0009989/0.0009989, allocations: 81.81 kB / 21.42 MB, free: 3.07 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.00103/0.00103, allocations: 170.8 kB / 24.82 MB, free: 8.922 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 0.954/0.954, allocations: 177 MB / 205.1 MB, free: 5.484 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.693e-05, allocations: 9.266 kB / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002803/0.002829, allocations: 1.634 MB / 275 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008905/0.00372, allocations: 0.5569 MB / 275.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.579e-05/0.003806, allocations: 7.938 kB / 275.5 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.587e-05/0.003852, allocations: 3.938 kB / 275.5 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001428/0.003994, allocations: 7.875 kB / 275.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.00428, allocations: 71.67 kB / 275.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.004386, allocations: 51.83 kB / 275.7 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.828e-05/0.004474, allocations: 8.188 kB / 275.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.004611, allocations: 35.84 kB / 275.7 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.111e-05/0.004662, allocations: 23.91 kB / 275.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.00468, allocations: 4 kB / 275.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.729e-05/0.004717, allocations: 4 kB / 275.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.933e-05/0.004756, allocations: 15.92 kB / 275.8 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.116e-05/0.004777, allocations: 11.94 kB / 275.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.004901, allocations: 51.75 kB / 275.8 MB, free: 14.72 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.004903, allocations: 0 / 275.8 MB, free: 14.72 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.004904, allocations: 0 / 275.8 MB, free: 14.72 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.004908, allocations: 0 / 275.8 MB, free: 14.72 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003967/0.005305, allocations: 412.3 kB / 276.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.005345, allocations: 11.98 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.005467, allocations: 20.89 kB / 276.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.005631, allocations: 160.9 kB / 276.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.00564, allocations: 384 / 276.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/0.00565, allocations: 8.375 kB / 276.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.005842, allocations: 125 kB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.00585, allocations: 4 kB / 276.6 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.61e-06/0.005856, allocations: 0 / 276.6 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.005863, allocations: 4 kB / 276.6 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.182e-05/0.005884, allocations: 11.92 kB / 276.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003667/0.006251, allocations: 255.8 kB / 276.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.299e-05/0.006324, allocations: 89.23 kB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.759e-05/0.006352, allocations: 27.12 kB / 276.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.006372, allocations: 3.938 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.006395, allocations: 45.33 kB / 277 MB, free: 13.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.011e-06/0.006396, allocations: 0 / 277 MB, free: 13.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001466/0.006543, allocations: 65.56 kB / 277 MB, free: 13.31 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.00659, allocations: 106.8 kB / 277.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.006698, allocations: 205.2 kB / 277.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.006709, allocations: 25.7 kB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.961e-05/0.006759, allocations: 134.9 kB / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.006773, allocations: 3.938 kB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.006807, allocations: 31.69 kB / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.006925, allocations: 0.4884 MB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-06/0.006934, allocations: 0 / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.177e-06/0.006943, allocations: 4 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.286e-05/0.006966, allocations: 7.688 kB / 278 MB, free: 12.24 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.006969, allocations: 3.938 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.555e-05/0.007024, allocations: 37.69 kB / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.007037, allocations: 7.125 kB / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.007042, allocations: 3.938 kB / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.007053, allocations: 0 / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.118e-05/0.007104, allocations: 8.094 kB / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.007107, allocations: 0 / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.079e-05/0.007128, allocations: 7.984 kB / 278.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.007133, allocations: 0 / 278.1 MB, free: 12.17 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.922e-05/0.007202, allocations: 160.5 kB / 278.3 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.686e-05/0.007259, allocations: 49.59 kB / 278.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.931e-05/0.007288, allocations: 19.89 kB / 278.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.00729, allocations: 0 / 278.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.007291, allocations: 4 kB / 278.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.007294, allocations: 4.062 kB / 278.3 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.007418, allocations: 109.2 kB / 278.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.00742, allocations: 0 / 278.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.401e-05/0.007454, allocations: 8 kB / 278.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.007457, allocations: 3.938 kB / 278.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-06/0.007466, allocations: 11.98 kB / 278.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.007467, allocations: 0 / 278.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.007468, allocations: 0 / 278.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.007568, allocations: 199.3 kB / 278.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.898e-05/0.007607, allocations: 31.81 kB / 278.7 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.007617, allocations: 4.031 kB / 278.7 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.02e-05/0.007667, allocations: 0 / 278.7 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.479e-05/0.007692, allocations: 7.984 kB / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.007696, allocations: 0 / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.492e-05/0.007751, allocations: 139.2 kB / 278.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007751, allocations: 0 / 278.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001993/0.00795, allocations: 8 kB / 278.9 MB, free: 11.36 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 8.771e-05/0.008038, allocations: 91.25 kB / 278.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.846e-05/0.008106, allocations: 27.61 kB / 279 MB, free: 11.22 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.008108, allocations: 0 / 279 MB, free: 11.22 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.538e-05/0.008124, allocations: 15.67 kB / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.008408, allocations: 32 kB / 279 MB, free: 11.17 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000428/0.008836, allocations: 188.3 kB / 279.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.081e-05/0.008877, allocations: 59.34 kB / 279.3 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.607e-05/0.008903, allocations: 8.297 kB / 279.3 MB, free: 10.87 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.584e-05/0.008969, allocations: 78.2 kB / 279.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of SimCode: time 7.81e-07/0.008969, allocations: 0 / 279.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of Templates: time 0.002783/0.01175, allocations: 0.6816 MB / 280 MB, free: 10.12 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.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.658805178012699]