Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.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.001004/0.001004, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001206/0.001206, allocations: 163.4 kB / 25.61 MB, free: 8.582 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.9373/0.9373, allocations: 177 MB / 205.9 MB, free: 4.465 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.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 274.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.233e-05, allocations: 6.312 kB / 274.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002128/0.00215, allocations: 1.603 MB / 275.7 MB, free: 2.688 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007608/0.002911, allocations: 0.547 MB / 276.3 MB, free: 2.137 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.732e-05/0.002999, allocations: 7.938 kB / 276.3 MB, free: 2.129 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.573e-05/0.003044, allocations: 4.844 kB / 276.3 MB, free: 2.125 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.003188, allocations: 11.88 kB / 276.3 MB, free: 2.113 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.00347, allocations: 56.38 kB / 276.3 MB, free: 2.059 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.059e-05/0.00356, allocations: 58.23 kB / 276.4 MB, free: 2.004 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.927e-05/0.00364, allocations: 8.188 kB / 276.4 MB, free: 1.996 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.003751, allocations: 39.89 kB / 276.4 MB, free: 1.957 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.275e-05/0.003793, allocations: 15.92 kB / 276.5 MB, free: 1.941 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.003807, allocations: 4 kB / 276.5 MB, free: 1.938 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.426e-05/0.003841, allocations: 4 kB / 276.5 MB, free: 1.934 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.803e-05/0.003879, allocations: 13.62 kB / 276.5 MB, free: 1.922 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.888e-05/0.003898, allocations: 19.92 kB / 276.5 MB, free: 1.902 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.004006, allocations: 47.75 kB / 276.5 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.004009, allocations: 0 / 276.5 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.004011, allocations: 4 kB / 276.5 MB, free: 1.852 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.004015, allocations: 0.625 kB / 276.5 MB, free: 1.852 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.0003322/0.004347, allocations: 396.9 kB / 276.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.004376, allocations: 11.97 kB / 276.9 MB, free: 1.418 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.004477, allocations: 25.48 kB / 277 MB, free: 1.395 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.004617, allocations: 152.4 kB / 277.1 MB, free: 1.219 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.004627, allocations: 8.359 kB / 277.1 MB, free: 1.211 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-06/0.004634, allocations: 4.375 kB / 277.1 MB, free: 1.207 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.004785, allocations: 109.6 kB / 277.2 MB, free: 1.074 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.004791, allocations: 192 / 277.2 MB, free: 1.074 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-06/0.004797, allocations: 4.125 kB / 277.2 MB, free: 1.07 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.004803, allocations: 8 kB / 277.2 MB, free: 1.062 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.276e-05/0.004816, allocations: 3.984 kB / 277.3 MB, free: 1.059 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001789/0.004994, allocations: 244.1 kB / 277.5 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.759e-05/0.005042, allocations: 54.17 kB / 277.5 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.691e-05/0.005059, allocations: 19.38 kB / 277.6 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.005073, allocations: 7.969 kB / 277.6 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.005095, allocations: 45.39 kB / 277.6 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.005095, allocations: 0 / 277.6 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.000117/0.005212, allocations: 53.75 kB / 277.7 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.005254, allocations: 81.11 kB / 277.7 MB, free: 476 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.095e-05/0.005345, allocations: 195.8 kB / 277.9 MB, free: 264 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.005354, allocations: 25.7 kB / 278 MB, free: 232 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.582e-05/0.0054, allocations: 134.9 kB / 278.1 MB, free: 92 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.206e-05/0.005412, allocations: 3.953 kB / 278.1 MB, free: 88 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.47e-05/0.005437, allocations: 27.36 kB / 278.1 MB, free: 52 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.00556, allocations: 496.1 kB / 278.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.785e-06/0.005568, allocations: 0 / 278.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.971e-06/0.005574, allocations: 0 / 278.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.06e-05/0.005595, allocations: 19.77 kB / 278.6 MB, free: 15.53 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.005596, allocations: 0 / 278.6 MB, free: 15.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.765e-05/0.005644, allocations: 41.58 kB / 278.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.005656, allocations: 11.94 kB / 278.7 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.005661, allocations: 3.938 kB / 278.7 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.885e-06/0.005669, allocations: 0 / 278.7 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.53e-05/0.005714, allocations: 4 kB / 278.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.846e-06/0.005717, allocations: 0 / 278.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.516e-05/0.005732, allocations: 0 / 278.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.005736, allocations: 0 / 278.7 MB, free: 15.46 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.289e-05/0.005799, allocations: 164.6 kB / 278.8 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.449e-05/0.005833, allocations: 41.59 kB / 278.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.144e-05/0.005855, allocations: 11.75 kB / 278.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.005856, allocations: 0 / 278.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.005858, allocations: 0 / 278.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.005861, allocations: 4 kB / 278.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.311e-05/0.005954, allocations: 101.2 kB / 279 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.005955, allocations: 4 kB / 279 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.085e-05/0.005976, allocations: 11.98 kB / 279 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.005977, allocations: 0 / 279 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-06/0.005981, allocations: 4.031 kB / 279 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.005982, allocations: 0 / 279 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.005985, allocations: 3.938 kB / 279 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.423e-05/0.006069, allocations: 195.6 kB / 279.2 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.308e-05/0.006092, allocations: 15.83 kB / 279.2 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.006103, allocations: 8 kB / 279.2 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.841e-05/0.006131, allocations: 0 / 279.2 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.074e-05/0.006152, allocations: 7.922 kB / 279.2 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.006155, allocations: 4 kB / 279.3 MB, free: 14.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.223e-05/0.006197, allocations: 141.7 kB / 279.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006197, allocations: 4.031 kB / 279.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001329/0.00633, allocations: 4 kB / 279.4 MB, free: 14.69 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.361e-05/0.006404, allocations: 99.23 kB / 279.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.715e-05/0.006461, allocations: 15.69 kB / 279.5 MB, free: 14.56 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.62e-07/0.006462, allocations: 0 / 279.5 MB, free: 14.56 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.206e-05/0.006474, allocations: 11.62 kB / 279.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.006694, allocations: 24.16 kB / 279.5 MB, free: 14.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003445/0.007038, allocations: 169.6 kB / 279.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.612e-05/0.007074, allocations: 63.2 kB / 279.8 MB, free: 14.24 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.295e-05/0.007097, allocations: 7.906 kB / 279.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.968e-05/0.007147, allocations: 74.14 kB / 279.9 MB, free: 14.16 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.007148, allocations: 0 / 279.9 MB, free: 14.16 MB / 266.7 MB Notification: Performance of Templates: time 0.002155/0.009303, allocations: 0.6329 MB / 280.5 MB, free: 13.55 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/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.7342106038704515]