Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.001855/0.001855, allocations: 100.2 kB / 20.96 MB, free: 3.59 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.002235/0.002235, allocations: 160.9 kB / 24.27 MB, free: 296 kB / 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.512/1.512, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.969e-05/3.136e-05, allocations: 5.266 kB / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003195/0.003226, allocations: 1.576 MB / 273.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.004355, allocations: 0.4985 MB / 274.3 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.621e-05/0.004441, allocations: 11.94 kB / 274.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.022e-05/0.004502, allocations: 7.922 kB / 274.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.004641, allocations: 3.938 kB / 274.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.004963, allocations: 59.73 kB / 274.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.005082, allocations: 43.86 kB / 274.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.005189, allocations: 12.17 kB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.00535, allocations: 39.78 kB / 274.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.053e-05/0.00541, allocations: 19.92 kB / 274.5 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.005428, allocations: 0 / 274.5 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.023e-05/0.005468, allocations: 12 kB / 274.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.784e-05/0.005526, allocations: 19.91 kB / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.302e-05/0.005559, allocations: 11.94 kB / 274.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.005717, allocations: 55.8 kB / 274.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.00572, allocations: 0 / 274.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.005722, allocations: 0 / 274.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.005727, allocations: 0 / 274.6 MB, free: 15.43 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.0005426/0.006269, allocations: 313.9 kB / 274.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.006313, allocations: 11.98 kB / 274.9 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001774/0.00649, allocations: 20.88 kB / 274.9 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.006776, allocations: 141.7 kB / 275 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.006788, allocations: 384 / 275 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.006806, allocations: 8.359 kB / 275 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003072/0.007113, allocations: 101.6 kB / 275.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.007122, allocations: 192 / 275.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.007134, allocations: 4.125 kB / 275.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.007141, allocations: 8 kB / 275.2 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.848e-05/0.00723, allocations: 19.92 kB / 275.2 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000331/0.007561, allocations: 205.4 kB / 275.4 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.007672, allocations: 49.14 kB / 275.4 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.811e-05/0.00773, allocations: 21.77 kB / 275.4 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.007752, allocations: 0 / 275.4 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.007791, allocations: 34.5 kB / 275.5 MB, free: 14.37 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 6.51e-07/0.007791, allocations: 0 / 275.5 MB, free: 14.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002885/0.00808, allocations: 77.56 kB / 275.6 MB, free: 14.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.04e-05/0.00816, allocations: 85.11 kB / 275.6 MB, free: 14.19 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.008314, allocations: 137.1 kB / 275.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.008333, allocations: 25.7 kB / 275.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.00841, allocations: 100.1 kB / 275.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.008424, allocations: 3.953 kB / 275.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.00846, allocations: 13.72 kB / 275.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.008651, allocations: 314.8 kB / 276.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.553e-05/0.008696, allocations: 16.17 kB / 276.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.914e-05/0.008725, allocations: 8 kB / 276.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.492e-05/0.0088, allocations: 24.84 kB / 276.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.008802, allocations: 0 / 276.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001154/0.008917, allocations: 53.58 kB / 276.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.008947, allocations: 8 kB / 276.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.008954, allocations: 3.984 kB / 276.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.008969, allocations: 0 / 276.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.204e-05/0.009031, allocations: 4.094 kB / 276.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.009037, allocations: 4 kB / 276.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.182e-05/0.009069, allocations: 0 / 276.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.009074, allocations: 0 / 276.3 MB, free: 13.45 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 9.826e-05/0.009173, allocations: 117.8 kB / 276.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-05/0.009245, allocations: 45.59 kB / 276.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/0.009276, allocations: 11.8 kB / 276.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.009277, allocations: 0 / 276.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.009284, allocations: 4 kB / 276.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.009287, allocations: 0 / 276.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.00945, allocations: 117.3 kB / 276.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.009451, allocations: 0 / 276.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.622e-05/0.009497, allocations: 7.984 kB / 276.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.009503, allocations: 7.984 kB / 276.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.009513, allocations: 7.875 kB / 276.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.009514, allocations: 0 / 276.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.009515, allocations: 0 / 276.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.009714, allocations: 160.3 kB / 276.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-05/0.00975, allocations: 15.94 kB / 276.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.009767, allocations: 7.969 kB / 276.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.652e-05/0.009834, allocations: 4 kB / 276.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.009872, allocations: 3.984 kB / 276.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.009875, allocations: 0 / 276.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.81e-05/0.009973, allocations: 111.3 kB / 276.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009973, allocations: 0 / 276.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002146/0.01019, allocations: 4 kB / 276.9 MB, free: 12.77 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.0001213/0.01031, allocations: 95.23 kB / 277 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001351/0.01044, allocations: 27.92 kB / 277.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01045, allocations: 0 / 277.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.463e-05/0.01048, allocations: 8 kB / 277.1 MB, free: 12.63 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.01084, allocations: 23.5 kB / 277.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003809/0.01122, allocations: 168.7 kB / 277.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.99e-05/0.01131, allocations: 75.33 kB / 277.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.315e-05/0.01134, allocations: 4.469 kB / 277.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.01138, allocations: 16.5 kB / 277.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01138, allocations: 0 / 277.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of Templates: time 0.003231/0.01461, allocations: 0.567 MB / 277.9 MB, free: 11.75 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.38272706407588]