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.001058/0.001058, allocations: 84.25 kB / 22.21 MB, free: 2.281 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.001172/0.001172, allocations: 162.1 kB / 25.61 MB, free: 8.578 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.9858/0.9858, allocations: 177 MB / 205.9 MB, free: 4.453 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.533e-06/1.533e-06, allocations: 0 / 274.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.366e-05, allocations: 2.312 kB / 274.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002562/0.002586, allocations: 1.643 MB / 275.8 MB, free: 2.625 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007576/0.003343, allocations: 0.551 MB / 276.3 MB, free: 2.07 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.48e-05/0.003418, allocations: 7.938 kB / 276.3 MB, free: 2.062 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.892e-05/0.003457, allocations: 3.938 kB / 276.3 MB, free: 2.059 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.003573, allocations: 11.86 kB / 276.3 MB, free: 2.047 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.00381, allocations: 68.64 kB / 276.4 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.439e-05/0.003895, allocations: 47.8 kB / 276.4 MB, free: 1.934 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.107e-05/0.003966, allocations: 12.17 kB / 276.5 MB, free: 1.922 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.004067, allocations: 36.52 kB / 276.5 MB, free: 1.887 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.87e-05/0.004105, allocations: 12.59 kB / 276.5 MB, free: 1.875 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.004118, allocations: 0 / 276.5 MB, free: 1.875 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.202e-05/0.00415, allocations: 14.45 kB / 276.5 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.301e-05/0.004183, allocations: 19.92 kB / 276.5 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.676e-05/0.004199, allocations: 15.92 kB / 276.6 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.004304, allocations: 47.77 kB / 276.6 MB, free: 1.781 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.004306, allocations: 0 / 276.6 MB, free: 1.781 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.004306, allocations: 0 / 276.6 MB, free: 1.781 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.004311, allocations: 0 / 276.6 MB, free: 1.781 MB / 250.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.0003126/0.004623, allocations: 417.8 kB / 277 MB, free: 1.34 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.728e-05/0.004651, allocations: 8.031 kB / 277 MB, free: 1.332 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.335e-05/0.004744, allocations: 20.88 kB / 277 MB, free: 1.312 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.004881, allocations: 153.7 kB / 277.2 MB, free: 1.137 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-06/0.004889, allocations: 4.359 kB / 277.2 MB, free: 1.133 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.283e-06/0.004897, allocations: 4.375 kB / 277.2 MB, free: 1.129 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.005043, allocations: 129 kB / 277.3 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.00505, allocations: 0 / 277.3 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-06/0.005055, allocations: 0 / 277.3 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.005059, allocations: 0 / 277.3 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.411e-05/0.005083, allocations: 19.92 kB / 277.3 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/0.005276, allocations: 251.8 kB / 277.6 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.046e-05/0.005336, allocations: 77.31 kB / 277.7 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.493e-05/0.005361, allocations: 39.05 kB / 277.7 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.005374, allocations: 3.938 kB / 277.7 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.005395, allocations: 45.31 kB / 277.8 MB, free: 460 kB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.005396, allocations: 0 / 277.8 MB, free: 460 kB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001192/0.005515, allocations: 61.95 kB / 277.8 MB, free: 392 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.005557, allocations: 106.8 kB / 277.9 MB, free: 260 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.119e-05/0.005638, allocations: 197.2 kB / 278.1 MB, free: 48 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.005648, allocations: 25.7 kB / 278.1 MB, free: 16 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.823e-05/0.005706, allocations: 150.7 kB / 278.3 MB, free: 15.86 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.321e-05/0.005719, allocations: 7.875 kB / 278.3 MB, free: 15.86 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.428e-05/0.005744, allocations: 19.38 kB / 278.3 MB, free: 15.83 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.00585, allocations: 0.4923 MB / 278.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.995e-06/0.005858, allocations: 0 / 278.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.73e-06/0.005864, allocations: 3.938 kB / 278.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.114e-05/0.005885, allocations: 15.75 kB / 278.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.005887, allocations: 3.938 kB / 278.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.565e-05/0.005933, allocations: 41.66 kB / 278.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.005944, allocations: 4 kB / 278.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.005947, allocations: 0 / 278.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.756e-06/0.005956, allocations: 0 / 278.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.206e-05/0.005998, allocations: 7.984 kB / 278.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/0.006, allocations: 0 / 278.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.424e-05/0.006015, allocations: 0 / 278.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.00602, allocations: 4 kB / 278.9 MB, free: 15.23 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 5.878e-05/0.006078, allocations: 164.5 kB / 279 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/0.006121, allocations: 49.64 kB / 279.1 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.006145, allocations: 11.97 kB / 279.1 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.006147, allocations: 0 / 279.1 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.006149, allocations: 4 kB / 279.1 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.006152, allocations: 0 / 279.1 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.775e-05/0.006249, allocations: 105.2 kB / 279.2 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.00625, allocations: 0 / 279.2 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-05/0.006281, allocations: 15.92 kB / 279.2 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.006284, allocations: 4 kB / 279.2 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.88e-06/0.006289, allocations: 8 kB / 279.2 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.00629, allocations: 0 / 279.2 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.006291, allocations: 0 / 279.2 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.106e-05/0.006382, allocations: 207.3 kB / 279.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.342e-05/0.006406, allocations: 11.89 kB / 279.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.006416, allocations: 7.984 kB / 279.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.248e-05/0.006449, allocations: 7.984 kB / 279.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-05/0.00647, allocations: 7.938 kB / 279.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.006473, allocations: 0 / 279.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.573e-05/0.006519, allocations: 147.2 kB / 279.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006519, allocations: 0 / 279.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001354/0.006654, allocations: 11.94 kB / 279.6 MB, free: 14.41 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 7.14e-05/0.006725, allocations: 95.25 kB / 279.7 MB, free: 14.31 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.554e-05/0.006781, allocations: 15.69 kB / 279.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.006783, allocations: 0 / 279.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.128e-05/0.006794, allocations: 11.62 kB / 279.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.007021, allocations: 37.73 kB / 279.8 MB, free: 14.24 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/0.007371, allocations: 196.5 kB / 280 MB, free: 14.01 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.48e-05/0.007406, allocations: 63.2 kB / 280 MB, free: 13.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.176e-05/0.007428, allocations: 4 kB / 280 MB, free: 13.93 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.905e-05/0.007477, allocations: 78.19 kB / 280.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of SimCode: time 8.82e-07/0.007478, allocations: 4 kB / 280.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of Templates: time 0.002122/0.0096, allocations: 0.6796 MB / 280.8 MB, free: 13.19 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.8304261001758277]