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.0009791/0.0009791, 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.001101/0.001101, allocations: 164.2 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.014/1.014, allocations: 177 MB / 205.2 MB, free: 5.605 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.503e-06/1.503e-06, allocations: 0 / 273 MB, free: 1.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.73e-05/2.88e-05, allocations: 2.312 kB / 273 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002935/0.002964, allocations: 1.63 MB / 274.6 MB, free: 116 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.004121, allocations: 0.5569 MB / 275.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.004231, allocations: 4 kB / 275.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.001e-05/0.004291, allocations: 11.86 kB / 275.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.004457, allocations: 11.88 kB / 275.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004016/0.004859, allocations: 63.73 kB / 275.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.005003, allocations: 55.77 kB / 275.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.005127, allocations: 8.188 kB / 275.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.005312, allocations: 35.91 kB / 275.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.055e-05/0.005372, allocations: 19.91 kB / 275.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.005395, allocations: 4 kB / 275.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.057e-05/0.005446, allocations: 4 kB / 275.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.508e-05/0.005501, allocations: 11.94 kB / 275.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.166e-05/0.005533, allocations: 15.98 kB / 275.4 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.005693, allocations: 55.62 kB / 275.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.005697, allocations: 0 / 275.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.0057, allocations: 0 / 275.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.005706, allocations: 4 kB / 275.5 MB, free: 15.25 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.0005012/0.006207, allocations: 404.3 kB / 275.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.006254, allocations: 15.98 kB / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.006415, allocations: 20.88 kB / 275.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.006638, allocations: 153 kB / 276.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.006651, allocations: 4.359 kB / 276.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.006664, allocations: 12.31 kB / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/0.006954, allocations: 137 kB / 276.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.006962, allocations: 0 / 276.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.006972, allocations: 0 / 276.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.006981, allocations: 0 / 276.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.162e-05/0.007013, allocations: 4 kB / 276.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003361/0.007349, allocations: 291 kB / 276.5 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.679e-05/0.007446, allocations: 93.11 kB / 276.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.102e-05/0.007487, allocations: 27.19 kB / 276.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.007508, allocations: 4 kB / 276.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.007537, allocations: 49.38 kB / 276.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.007538, allocations: 0 / 276.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.000212/0.00775, allocations: 65.52 kB / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.82e-05/0.007818, allocations: 102.8 kB / 276.8 MB, free: 13.67 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.007949, allocations: 197.3 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.007963, allocations: 29.7 kB / 277.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.829e-05/0.008021, allocations: 138.9 kB / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.008038, allocations: 3.938 kB / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.008075, allocations: 23.7 kB / 277.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.008201, allocations: 0.4922 MB / 277.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.763e-05/0.008218, allocations: 7.984 kB / 277.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.686e-06/0.008227, allocations: 0 / 277.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.941e-05/0.008257, allocations: 11.62 kB / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.008259, allocations: 4 kB / 277.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.686e-05/0.008325, allocations: 33.7 kB / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.008343, allocations: 10.66 kB / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.008348, allocations: 0 / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.008364, allocations: 96 / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.943e-05/0.008433, allocations: 7.984 kB / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.008441, allocations: 4 kB / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.059e-05/0.008462, allocations: 0 / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.008469, allocations: 0 / 277.8 MB, free: 12.66 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 8.49e-05/0.008554, allocations: 156.5 kB / 278 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.462e-05/0.008629, allocations: 57.58 kB / 278 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.903e-05/0.008668, allocations: 11.97 kB / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.00867, allocations: 0 / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.008674, allocations: 0 / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.008679, allocations: 4.062 kB / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.008825, allocations: 140.5 kB / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.008827, allocations: 0 / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.16e-05/0.008878, allocations: 11.94 kB / 278.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.008881, allocations: 0 / 278.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.008892, allocations: 15.92 kB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.008895, allocations: 0 / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.008897, allocations: 0 / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.009062, allocations: 219.2 kB / 278.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.657e-05/0.009108, allocations: 19.94 kB / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.009125, allocations: 4 kB / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.765e-05/0.009182, allocations: 0 / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.009219, allocations: 4 kB / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.009223, allocations: 0 / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.878e-05/0.009302, allocations: 155.1 kB / 278.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009302, allocations: 0 / 278.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002275/0.009529, allocations: 4 kB / 278.6 MB, free: 11.8 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 0.0001128/0.009642, allocations: 95.25 kB / 278.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.089e-05/0.009733, allocations: 19.67 kB / 278.7 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.009735, allocations: 8.062 kB / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.573e-05/0.009751, allocations: 7.688 kB / 278.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.01011, allocations: 30.11 kB / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000578/0.01069, allocations: 184.5 kB / 278.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.841e-05/0.01073, allocations: 63.34 kB / 279 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.23e-05/0.01077, allocations: 12.17 kB / 279 MB, free: 11.31 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/0.0108, allocations: 12.5 kB / 279 MB, free: 11.3 MB / 266.7 MB Notification: Performance of SimCode: time 8.22e-07/0.0108, allocations: 0 / 279 MB, free: 11.3 MB / 266.7 MB Notification: Performance of Templates: time 0.003202/0.014, allocations: 0.6319 MB / 279.6 MB, free: 10.68 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.886468925047666]