Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.001048/0.001048, allocations: 84.25 kB / 22.21 MB, free: 2.289 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.001195/0.001195, allocations: 166.7 kB / 25.61 MB, free: 8.445 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.9747/0.9747, allocations: 177 MB / 205.9 MB, free: 4.453 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 274.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.454e-05, allocations: 7.156 kB / 274.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.006526/0.00655, allocations: 1.613 MB / 275.7 MB, free: 2.656 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007855/0.007336, allocations: 0.5111 MB / 276.2 MB, free: 2.141 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.57e-05/0.007412, allocations: 5.469 kB / 276.3 MB, free: 2.137 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.659e-05/0.007458, allocations: 3.938 kB / 276.3 MB, free: 2.133 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.007586, allocations: 15.92 kB / 276.3 MB, free: 2.117 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.007839, allocations: 52.69 kB / 276.3 MB, free: 2.066 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.164e-05/0.007931, allocations: 35.86 kB / 276.4 MB, free: 2.031 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.328e-05/0.008014, allocations: 15.89 kB / 276.4 MB, free: 2.016 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.008127, allocations: 36.44 kB / 276.4 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.914e-05/0.008177, allocations: 21.58 kB / 276.4 MB, free: 1.961 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.00819, allocations: 0 / 276.4 MB, free: 1.961 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003056/0.01125, allocations: 4 kB / 276.4 MB, free: 1.957 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.198e-05/0.01129, allocations: 11.98 kB / 276.4 MB, free: 1.945 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.226e-05/0.01131, allocations: 16.66 kB / 276.5 MB, free: 1.93 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.01143, allocations: 35.83 kB / 276.5 MB, free: 1.895 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.01144, allocations: 4 kB / 276.5 MB, free: 1.891 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01144, allocations: 0 / 276.5 MB, free: 1.891 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.01144, allocations: 0 / 276.5 MB, free: 1.891 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003786/0.01182, allocations: 400.3 kB / 276.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.01186, allocations: 8.031 kB / 276.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.01198, allocations: 16.89 kB / 276.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.01214, allocations: 154.2 kB / 277.1 MB, free: 1.266 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.01215, allocations: 384 / 277.1 MB, free: 1.266 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.01217, allocations: 384 / 277.1 MB, free: 1.266 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.01232, allocations: 109.7 kB / 277.2 MB, free: 1.133 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.01233, allocations: 4.125 kB / 277.2 MB, free: 1.129 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.341e-06/0.01234, allocations: 384 / 277.2 MB, free: 1.129 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/0.01235, allocations: 7.922 kB / 277.2 MB, free: 1.121 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.969e-05/0.01237, allocations: 11.98 kB / 277.2 MB, free: 1.109 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002081/0.01257, allocations: 240.1 kB / 277.4 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.185e-05/0.01263, allocations: 54.06 kB / 277.5 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.229e-05/0.01265, allocations: 27.5 kB / 277.5 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.01266, allocations: 0 / 277.5 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.01268, allocations: 37.38 kB / 277.6 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.01268, allocations: 4 kB / 277.6 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001306/0.01281, allocations: 41.58 kB / 277.6 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.01286, allocations: 89.05 kB / 277.7 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.01297, allocations: 196.4 kB / 277.9 MB, free: 328 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.01298, allocations: 25.7 kB / 277.9 MB, free: 296 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.007e-05/0.01303, allocations: 134.9 kB / 278 MB, free: 156 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.226e-05/0.01304, allocations: 4.25 kB / 278 MB, free: 152 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.01307, allocations: 23.33 kB / 278.1 MB, free: 120 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.01322, allocations: 0.4884 MB / 278.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.769e-06/0.01323, allocations: 0 / 278.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.767e-06/0.01324, allocations: 4 kB / 278.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.284e-05/0.01326, allocations: 11.69 kB / 278.6 MB, free: 15.6 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.01326, allocations: 0 / 278.6 MB, free: 15.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.641e-05/0.01332, allocations: 37.64 kB / 278.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.01333, allocations: 4 kB / 278.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.01334, allocations: 7.922 kB / 278.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.01335, allocations: 4.094 kB / 278.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.67e-05/0.01339, allocations: 4 kB / 278.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.0134, allocations: 0 / 278.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.845e-05/0.01341, allocations: 0 / 278.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.01342, allocations: 7.938 kB / 278.6 MB, free: 15.53 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 7.032e-05/0.01349, allocations: 160.6 kB / 278.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.135e-05/0.01353, allocations: 37.64 kB / 278.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.689e-05/0.01356, allocations: 15.75 kB / 278.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.01356, allocations: 0 / 278.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.01356, allocations: 0 / 278.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.01356, allocations: 8.031 kB / 278.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.01368, allocations: 105.2 kB / 278.9 MB, free: 15.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.01368, allocations: 0 / 278.9 MB, free: 15.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.317e-05/0.01371, allocations: 7.938 kB / 279 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.01371, allocations: 0 / 279 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-06/0.01371, allocations: 0 / 279 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.01371, allocations: 3.984 kB / 279 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.01372, allocations: 7.938 kB / 279 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.01382, allocations: 195.6 kB / 279.2 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.793e-05/0.01385, allocations: 11.94 kB / 279.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.01386, allocations: 8.031 kB / 279.2 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.961e-05/0.01391, allocations: 0 / 279.2 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.275e-05/0.01393, allocations: 3.938 kB / 279.2 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.01394, allocations: 8 kB / 279.2 MB, free: 14.9 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.003064/0.017, allocations: 143.1 kB / 279.3 MB, free: 14.76 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.017, allocations: 0 / 279.3 MB, free: 14.76 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002056/0.01721, allocations: 4 kB / 279.3 MB, free: 14.76 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 9.445e-05/0.0173, allocations: 99.12 kB / 279.4 MB, free: 14.65 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.607e-05/0.01737, allocations: 15.69 kB / 279.4 MB, free: 14.63 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01737, allocations: 4 kB / 279.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.562e-05/0.01738, allocations: 11.67 kB / 279.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.01766, allocations: 12.31 kB / 279.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004057/0.01807, allocations: 169.4 kB / 279.6 MB, free: 14.4 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.967e-05/0.01811, allocations: 63.2 kB / 279.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.433e-05/0.01813, allocations: 224 / 279.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.805e-05/0.01819, allocations: 78.19 kB / 279.8 MB, free: 14.24 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01819, allocations: 0 / 279.8 MB, free: 14.24 MB / 266.7 MB Notification: Performance of Templates: time 0.002415/0.02061, allocations: 0.5687 MB / 280.3 MB, free: 13.69 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.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.7502331789582968]