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.001029/0.001029, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001167/0.001167, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.9978/0.9978, allocations: 177 MB / 204.8 MB, free: 5.566 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.663e-06/1.663e-06, allocations: 0 / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/2.018e-05, allocations: 9.203 kB / 272.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.001915/0.001935, allocations: 1.615 MB / 274.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006421/0.002577, allocations: 0.522 MB / 275.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.296e-05/0.00264, allocations: 3.938 kB / 275.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.102e-05/0.002681, allocations: 3.938 kB / 275.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.002805, allocations: 15.86 kB / 275.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.003027, allocations: 51.81 kB / 275.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.426e-05/0.003111, allocations: 43.78 kB / 275.2 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.641e-05/0.003187, allocations: 8 kB / 275.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.908e-05/0.003286, allocations: 35.84 kB / 275.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.012e-05/0.003327, allocations: 15.92 kB / 275.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.00334, allocations: 4 kB / 275.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.137e-05/0.003372, allocations: 4 kB / 275.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.726e-05/0.003409, allocations: 15.92 kB / 275.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.963e-05/0.003428, allocations: 12 kB / 275.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.925e-05/0.003528, allocations: 35.83 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.00353, allocations: 0 / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.00353, allocations: 0 / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.003534, allocations: 0 / 275.3 MB, free: 15.02 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003259/0.00386, allocations: 404.3 kB / 275.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.00389, allocations: 11.98 kB / 275.7 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.003991, allocations: 20.88 kB / 275.7 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.004122, allocations: 149.8 kB / 275.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.743e-06/0.004128, allocations: 384 / 275.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.204e-06/0.004136, allocations: 384 / 275.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.004306, allocations: 117.6 kB / 276 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.004312, allocations: 8.172 kB / 276 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.00432, allocations: 384 / 276 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.004327, allocations: 3.938 kB / 276 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.971e-05/0.004347, allocations: 8 kB / 276 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000207/0.004554, allocations: 263.5 kB / 276.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.329e-05/0.004597, allocations: 54.12 kB / 276.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.012e-05/0.004627, allocations: 19.5 kB / 276.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.004641, allocations: 0 / 276.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.004662, allocations: 45.27 kB / 276.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 1.904e-06/0.004664, allocations: 4 kB / 276.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001212/0.004785, allocations: 53.58 kB / 276.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.00482, allocations: 77.11 kB / 276.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.252e-05/0.004902, allocations: 196.6 kB / 276.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.315e-06/0.00491, allocations: 25.7 kB / 276.7 MB, free: 13.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.911e-05/0.00495, allocations: 134.9 kB / 276.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.09e-05/0.00496, allocations: 0 / 276.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-05/0.004984, allocations: 27.33 kB / 276.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.262e-05/0.005076, allocations: 496.1 kB / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.848e-06/0.005086, allocations: 4.25 kB / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.382e-06/0.005093, allocations: 4 kB / 277.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.96e-05/0.005112, allocations: 15.62 kB / 277.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.005114, allocations: 4 kB / 277.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.577e-05/0.00515, allocations: 33.64 kB / 277.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.005163, allocations: 18.58 kB / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.005166, allocations: 0 / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.005176, allocations: 0 / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.508e-05/0.005221, allocations: 0 / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.005225, allocations: 0 / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.27e-05/0.005237, allocations: 8.094 kB / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.005242, allocations: 0 / 277.5 MB, free: 12.62 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 5.118e-05/0.005294, allocations: 152.6 kB / 277.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.005326, allocations: 53.52 kB / 277.7 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.203e-05/0.005348, allocations: 7.812 kB / 277.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.00535, allocations: 4 kB / 277.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.005353, allocations: 0 / 277.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.005355, allocations: 0 / 277.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.534e-05/0.00544, allocations: 132.6 kB / 277.8 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.005441, allocations: 0 / 277.8 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.629e-05/0.005457, allocations: 8.031 kB / 277.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.005458, allocations: 0 / 277.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-06/0.005464, allocations: 3.938 kB / 277.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.005465, allocations: 0 / 277.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.005466, allocations: 4 kB / 277.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.488e-05/0.005551, allocations: 199.6 kB / 278 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.999e-05/0.005571, allocations: 11.94 kB / 278 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.005582, allocations: 11.88 kB / 278 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.924e-05/0.005611, allocations: 4 kB / 278 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-05/0.005634, allocations: 0 / 278 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.005638, allocations: 8.031 kB / 278.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.466e-05/0.005682, allocations: 143.2 kB / 278.2 MB, free: 11.81 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005682, allocations: 0 / 278.2 MB, free: 11.81 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001303/0.005813, allocations: 7.938 kB / 278.2 MB, free: 11.8 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 5.216e-05/0.005865, allocations: 95.25 kB / 278.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.945e-05/0.005924, allocations: 15.69 kB / 278.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.005925, allocations: 0 / 278.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.104e-05/0.005936, allocations: 7.688 kB / 278.3 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.006134, allocations: 24.3 kB / 278.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.006507, allocations: 169.3 kB / 278.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.361e-05/0.00654, allocations: 59.34 kB / 278.6 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.562e-05/0.006556, allocations: 0 / 278.6 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.151e-05/0.006578, allocations: 12.5 kB / 278.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.006578, allocations: 0 / 278.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of Templates: time 0.001879/0.008457, allocations: 0.5404 MB / 279.1 MB, free: 10.82 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.6928850463591516]