Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.001181/0.001181, allocations: 88.34 kB / 22.22 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.001203/0.001203, allocations: 169.3 kB / 25.61 MB, free: 8.914 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.9619/0.9619, allocations: 177 MB / 205.9 MB, free: 4.445 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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 274.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/2.976e-05, allocations: 4.406 kB / 274.1 MB, free: 4.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.00558/0.00561, allocations: 1.669 MB / 275.8 MB, free: 2.594 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008207/0.00643, allocations: 0.5502 MB / 276.3 MB, free: 2.039 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.403e-05/0.006514, allocations: 3.938 kB / 276.3 MB, free: 2.035 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.822e-05/0.006563, allocations: 8.812 kB / 276.4 MB, free: 2.027 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001238/0.006686, allocations: 11.86 kB / 276.4 MB, free: 2.016 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.006949, allocations: 64.36 kB / 276.4 MB, free: 1.953 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.00705, allocations: 62.2 kB / 276.5 MB, free: 1.895 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.814e-05/0.007138, allocations: 19.91 kB / 276.5 MB, free: 1.875 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.007265, allocations: 39.91 kB / 276.5 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.077e-05/0.007316, allocations: 19.97 kB / 276.6 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00303/0.01035, allocations: 4 kB / 276.6 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.621e-05/0.01038, allocations: 4 kB / 276.6 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.856e-05/0.01042, allocations: 17.95 kB / 276.6 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.231e-05/0.01044, allocations: 15.94 kB / 276.6 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.01057, allocations: 67.61 kB / 276.7 MB, free: 1.711 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.01057, allocations: 0 / 276.7 MB, free: 1.711 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01057, allocations: 0 / 276.7 MB, free: 1.711 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.566e-06/0.01057, allocations: 0 / 276.7 MB, free: 1.711 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005818/0.01116, allocations: 408.9 kB / 277.1 MB, free: 1.277 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.01119, allocations: 8.031 kB / 277.1 MB, free: 1.27 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.0113, allocations: 28.88 kB / 277.1 MB, free: 1.242 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.01146, allocations: 156.9 kB / 277.3 MB, free: 1.062 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.096e-06/0.01147, allocations: 384 / 277.3 MB, free: 1.062 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-06/0.01148, allocations: 4.375 kB / 277.3 MB, free: 1.059 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.01166, allocations: 144.9 kB / 277.4 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.01167, allocations: 7.938 kB / 277.4 MB, free: 0.875 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.01167, allocations: 4 kB / 277.4 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.01168, allocations: 3.938 kB / 277.4 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.399e-05/0.0117, allocations: 15.92 kB / 277.4 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002236/0.01193, allocations: 259.5 kB / 277.7 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.295e-05/0.01201, allocations: 116.3 kB / 277.8 MB, free: 404 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.611e-05/0.01205, allocations: 46.78 kB / 277.9 MB, free: 340 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.01206, allocations: 8 kB / 277.9 MB, free: 332 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.01208, allocations: 41.33 kB / 277.9 MB, free: 280 kB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.01209, allocations: 0 / 277.9 MB, free: 280 kB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001527/0.01224, allocations: 77.5 kB / 278 MB, free: 196 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.01229, allocations: 140.5 kB / 278.1 MB, free: 24 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.01241, allocations: 197.2 kB / 278.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.01242, allocations: 29.7 kB / 278.3 MB, free: 15.78 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.615e-05/0.01246, allocations: 135.4 kB / 278.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.444e-05/0.01248, allocations: 11.95 kB / 278.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.01251, allocations: 23.33 kB / 278.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.01262, allocations: 0.4884 MB / 279 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.007e-06/0.01263, allocations: 0 / 279 MB, free: 15.1 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.814e-05/0.01265, allocations: 19.38 kB / 279 MB, free: 15.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.08e-05/0.01268, allocations: 23.38 kB / 279 MB, free: 15.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01269, allocations: 3.938 kB / 279 MB, free: 15.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.206e-05/0.01275, allocations: 45.62 kB / 279.1 MB, free: 14.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.01276, allocations: 8.125 kB / 279.1 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.01276, allocations: 0 / 279.1 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.246e-06/0.01277, allocations: 4 kB / 279.1 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.686e-05/0.01282, allocations: 7.984 kB / 279.1 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.844e-06/0.01282, allocations: 0 / 279.1 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.203e-05/0.01284, allocations: 7.875 kB / 279.1 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.01285, allocations: 0 / 279.1 MB, free: 14.96 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 6.507e-05/0.01291, allocations: 160.5 kB / 279.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-05/0.01297, allocations: 57.59 kB / 279.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.623e-05/0.013, allocations: 16.03 kB / 279.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.013, allocations: 0 / 279.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.013, allocations: 11.94 kB / 279.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.01301, allocations: 3.984 kB / 279.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.01314, allocations: 113.2 kB / 279.5 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01314, allocations: 7.938 kB / 279.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.773e-05/0.01319, allocations: 11.98 kB / 279.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.01319, allocations: 7.938 kB / 279.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.0132, allocations: 0 / 279.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.0132, allocations: 0 / 279.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.0132, allocations: 4 kB / 279.5 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.01332, allocations: 222.9 kB / 279.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.611e-05/0.01336, allocations: 19.88 kB / 279.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.01337, allocations: 0 / 279.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.587e-05/0.01342, allocations: 8 kB / 279.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-05/0.01345, allocations: 3.984 kB / 279.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.01345, allocations: 4 kB / 279.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.266e-05/0.0135, allocations: 143.2 kB / 279.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0135, allocations: 0 / 279.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002098/0.01371, allocations: 8 kB / 279.9 MB, free: 14.1 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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 9.363e-05/0.01381, allocations: 103.3 kB / 280 MB, free: 13.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.94e-05/0.01388, allocations: 19.62 kB / 280 MB, free: 13.96 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01388, allocations: 0 / 280 MB, free: 13.96 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.837e-05/0.0139, allocations: 15.69 kB / 280 MB, free: 13.94 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.01421, allocations: 40.86 kB / 280.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004231/0.01463, allocations: 216 kB / 280.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.565e-05/0.01468, allocations: 70.34 kB / 280.3 MB, free: 13.56 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.564e-05/0.0147, allocations: 4 kB / 280.4 MB, free: 13.56 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.956e-05/0.01476, allocations: 78.19 kB / 280.4 MB, free: 13.48 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01476, allocations: 0 / 280.4 MB, free: 13.48 MB / 266.7 MB Notification: Performance of Templates: time 0.005588/0.02035, allocations: 0.8306 MB / 281.3 MB, free: 12.68 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.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.714360966347158]