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.0008219/0.0008219, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003791/0.003791, allocations: 160.2 kB / 24.7 MB, free: 9.441 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.9255/0.9255, allocations: 177 MB / 204.9 MB, free: 5.711 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.543e-06/1.543e-06, allocations: 0 / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.091e-05/3.245e-05, allocations: 3.266 kB / 325.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.002045/0.002077, allocations: 1.579 MB / 327.4 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006793/0.002756, allocations: 0.4908 MB / 327.9 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.89e-05/0.002835, allocations: 7.938 kB / 327.9 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.402e-05/0.002879, allocations: 7.922 kB / 327.9 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.003021, allocations: 7.984 kB / 327.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.003286, allocations: 55.7 kB / 327.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.5e-05/0.003381, allocations: 43.84 kB / 328 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.769e-05/0.003469, allocations: 4 kB / 328 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.003582, allocations: 43.77 kB / 328 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.412e-05/0.003626, allocations: 4 kB / 328 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.003641, allocations: 0 / 328 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.605e-05/0.003677, allocations: 12 kB / 328 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.15e-05/0.003719, allocations: 19.91 kB / 328.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.965e-05/0.003738, allocations: 7.938 kB / 328.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.00386, allocations: 59.8 kB / 328.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.003861, allocations: 0 / 328.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.003863, allocations: 0 / 328.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.003867, allocations: 0 / 328.1 MB, free: 12.98 MB / 298.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.0003735/0.00424, allocations: 290.1 kB / 328.4 MB, free: 12.67 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.004277, allocations: 15.98 kB / 328.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.004385, allocations: 16.88 kB / 328.4 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.004548, allocations: 133.6 kB / 328.6 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.004556, allocations: 8.359 kB / 328.6 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.004567, allocations: 8.312 kB / 328.6 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.004756, allocations: 97.59 kB / 328.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.004764, allocations: 192 / 328.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.004772, allocations: 384 / 328.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.004777, allocations: 7.938 kB / 328.7 MB, free: 12.35 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.203e-05/0.004819, allocations: 15.92 kB / 328.7 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002301/0.005049, allocations: 209.4 kB / 328.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.741e-05/0.005106, allocations: 49.16 kB / 329 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.349e-05/0.00514, allocations: 25.77 kB / 329 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.005157, allocations: 0 / 329 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.00518, allocations: 34.5 kB / 329 MB, free: 11.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.005181, allocations: 0 / 329 MB, free: 11.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.000196/0.005377, allocations: 73.56 kB / 329.1 MB, free: 11.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.663e-05/0.005443, allocations: 77.11 kB / 329.2 MB, free: 11.78 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.005561, allocations: 149.7 kB / 329.3 MB, free: 11.62 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.005576, allocations: 25.7 kB / 329.3 MB, free: 11.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.298e-05/0.005629, allocations: 92.06 kB / 329.4 MB, free: 11.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.005646, allocations: 0 / 329.4 MB, free: 11.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/0.005678, allocations: 21.67 kB / 329.5 MB, free: 11.47 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.005786, allocations: 322.8 kB / 329.8 MB, free: 11.15 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.474e-05/0.005811, allocations: 4 kB / 329.8 MB, free: 11.14 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.939e-05/0.005831, allocations: 11.98 kB / 329.8 MB, free: 11.13 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.504e-05/0.005886, allocations: 12.86 kB / 329.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.00589, allocations: 8.047 kB / 329.8 MB, free: 11.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.299e-05/0.005963, allocations: 49.69 kB / 329.9 MB, free: 11.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.005978, allocations: 7.938 kB / 329.9 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.005985, allocations: 0 / 329.9 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.006002, allocations: 0 / 329.9 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.127e-05/0.006063, allocations: 7.938 kB / 329.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.006069, allocations: 0 / 329.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.71e-05/0.006086, allocations: 3.984 kB / 329.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.006095, allocations: 4 kB / 329.9 MB, free: 11.03 MB / 298.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.86e-05/0.006173, allocations: 117.9 kB / 330 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/0.006212, allocations: 37.59 kB / 330 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.433e-05/0.006247, allocations: 19.75 kB / 330 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.00625, allocations: 0 / 330 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.006256, allocations: 4 kB / 330 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.00626, allocations: 3.938 kB / 330.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.006368, allocations: 109.3 kB / 330.2 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.006369, allocations: 0 / 330.2 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.226e-05/0.006391, allocations: 7.984 kB / 330.2 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.006394, allocations: 4 kB / 330.2 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.006403, allocations: 7.969 kB / 330.2 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.006404, allocations: 0 / 330.2 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.006405, allocations: 0 / 330.2 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.00653, allocations: 164.3 kB / 330.3 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.106e-05/0.006561, allocations: 11.95 kB / 330.4 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.006576, allocations: 3.938 kB / 330.4 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.513e-05/0.006611, allocations: 11.98 kB / 330.4 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.006652, allocations: 4 kB / 330.4 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.006655, allocations: 0 / 330.4 MB, free: 10.47 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.718e-05/0.006712, allocations: 111.3 kB / 330.5 MB, free: 10.36 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006712, allocations: 0 / 330.5 MB, free: 10.36 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001463/0.006858, allocations: 4 kB / 330.5 MB, free: 10.36 MB / 298.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.249e-05/0.006951, allocations: 99.19 kB / 330.6 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001165/0.007067, allocations: 23.92 kB / 330.6 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.007069, allocations: 0 / 330.6 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.075e-05/0.00709, allocations: 4 kB / 330.6 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.007359, allocations: 27.17 kB / 330.6 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003083/0.007667, allocations: 187.2 kB / 330.8 MB, free: 9.984 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.998e-05/0.007727, allocations: 79.27 kB / 330.9 MB, free: 9.887 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.303e-05/0.00776, allocations: 8.5 kB / 330.9 MB, free: 9.879 MB / 298.7 MB Notification: Performance of SimCode: time 4.41e-07/0.007761, allocations: 0 / 330.9 MB, free: 9.879 MB / 298.7 MB Notification: Performance of Templates: time 0.001533/0.009294, allocations: 0.7129 MB / 331.6 MB, free: 9.176 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.142941773869097]