Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.002585/0.002585, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.002675/0.002675, allocations: 160.8 kB / 24.27 MB, free: 156 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.613/1.613, allocations: 177 MB / 204.5 MB, free: 5.609 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.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.675e-05/3.888e-05, allocations: 6.312 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.004997/0.005036, allocations: 1.603 MB / 273.8 MB, free: 184 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.006824, allocations: 0.5297 MB / 274.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.006957, allocations: 3.938 kB / 274.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.721e-05/0.007054, allocations: 3.938 kB / 274.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.007268, allocations: 15.86 kB / 274.4 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004722/0.00774, allocations: 59.75 kB / 274.4 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.007907, allocations: 51.78 kB / 274.5 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.008034, allocations: 12.17 kB / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.008228, allocations: 35.91 kB / 274.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.125e-05/0.00831, allocations: 19.91 kB / 274.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.008337, allocations: 4 kB / 274.5 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.311e-05/0.00839, allocations: 8 kB / 274.5 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.373e-05/0.008454, allocations: 15.92 kB / 274.6 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.846e-05/0.008492, allocations: 11.94 kB / 274.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.008734, allocations: 59.73 kB / 274.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.008739, allocations: 0 / 274.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.008742, allocations: 0 / 274.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.008747, allocations: 0 / 274.6 MB, free: 15.35 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.0007641/0.009512, allocations: 415.9 kB / 275 MB, free: 14.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.009566, allocations: 15.98 kB / 275.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002158/0.009781, allocations: 24.83 kB / 275.1 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.0101, allocations: 149 kB / 275.2 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.01011, allocations: 384 / 275.2 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.01013, allocations: 4.375 kB / 275.2 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000404/0.01053, allocations: 140.3 kB / 275.4 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.01056, allocations: 0 / 275.4 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.01057, allocations: 4 kB / 275.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.01058, allocations: 0 / 275.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.931e-05/0.01067, allocations: 19.98 kB / 275.4 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004932/0.01116, allocations: 283.1 kB / 275.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/0.01139, allocations: 101.2 kB / 275.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.0115, allocations: 35.12 kB / 275.8 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.516e-05/0.01155, allocations: 3.984 kB / 275.8 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.844e-05/0.01161, allocations: 41.38 kB / 275.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.01161, allocations: 4 kB / 275.8 MB, free: 13.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004042/0.01201, allocations: 81.47 kB / 275.9 MB, free: 13.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001608/0.01217, allocations: 110.8 kB / 276 MB, free: 13.72 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002906/0.01247, allocations: 209.3 kB / 276.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.01249, allocations: 25.7 kB / 276.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.01263, allocations: 138.9 kB / 276.4 MB, free: 13.33 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.01265, allocations: 0 / 276.4 MB, free: 13.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-05/0.01271, allocations: 27.73 kB / 276.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003628/0.01307, allocations: 0.4922 MB / 276.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.926e-05/0.01312, allocations: 12 kB / 276.9 MB, free: 12.78 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.235e-05/0.01315, allocations: 3.984 kB / 276.9 MB, free: 12.78 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.942e-05/0.01324, allocations: 19.62 kB / 277 MB, free: 12.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.01325, allocations: 0 / 277 MB, free: 12.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001566/0.0134, allocations: 49.64 kB / 277 MB, free: 12.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.01343, allocations: 8 kB / 277 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.01343, allocations: 0 / 277 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.01345, allocations: 8.031 kB / 277 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.271e-05/0.01354, allocations: 0 / 277 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.01354, allocations: 4 kB / 277 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.091e-05/0.01357, allocations: 3.984 kB / 277 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.01358, allocations: 0 / 277 MB, free: 12.68 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 0.0001533/0.01373, allocations: 164.5 kB / 277.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.01388, allocations: 57.58 kB / 277.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.876e-05/0.01392, allocations: 7.969 kB / 277.3 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.986e-06/0.01393, allocations: 4 kB / 277.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.01394, allocations: 64 / 277.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.01394, allocations: 4 kB / 277.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.01418, allocations: 148.5 kB / 277.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.01418, allocations: 0 / 277.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.819e-05/0.01425, allocations: 4 kB / 277.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.01426, allocations: 4 kB / 277.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.01427, allocations: 0 / 277.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.01427, allocations: 3.938 kB / 277.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.01428, allocations: 4 kB / 277.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003067/0.01458, allocations: 231.2 kB / 277.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.808e-05/0.01464, allocations: 27.89 kB / 277.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.01466, allocations: 0 / 277.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.968e-05/0.01472, allocations: 0 / 277.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.01477, allocations: 4 kB / 277.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.01477, allocations: 0 / 277.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001299/0.0149, allocations: 155.2 kB / 277.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0149, allocations: 0 / 277.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002115/0.01511, allocations: 4 kB / 277.8 MB, free: 11.79 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.0001606/0.01527, allocations: 99.19 kB / 277.9 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001554/0.01543, allocations: 31.67 kB / 278 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01543, allocations: 4 kB / 278 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.636e-05/0.01548, allocations: 11.69 kB / 278 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.01588, allocations: 32.73 kB / 278 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004727/0.01635, allocations: 192.3 kB / 278.2 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.01646, allocations: 79.31 kB / 278.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.797e-05/0.0165, allocations: 8.312 kB / 278.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.797e-05/0.01653, allocations: 8.5 kB / 278.3 MB, free: 11.26 MB / 266.7 MB Notification: Performance of SimCode: time 1.182e-06/0.01653, allocations: 3.938 kB / 278.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of Templates: time 0.004191/0.02073, allocations: 0.6376 MB / 278.9 MB, free: 10.63 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.469644007040188]