Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001577/0.001577, allocations: 115.2 kB / 21.18 MB, free: 0.5898 MB / 14.72 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.001703/0.001703, allocations: 213.5 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.449/1.449, allocations: 230.4 MB / 258.1 MB, free: 8.137 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 67.83 kB / 378.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2828, allocations: 53.31 MB / 432 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003176/0.286, allocations: 1.52 MB / 433.6 MB, free: 5.816 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004335/0.2864, allocations: 135.5 kB / 433.7 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.246e-05/0.2865, allocations: 3.938 kB / 433.7 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.999e-05/0.2866, allocations: 0 / 433.7 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001459/0.2867, allocations: 15.92 kB / 433.7 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.287, allocations: 39.84 kB / 433.7 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.2871, allocations: 27.92 kB / 433.8 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.2872, allocations: 8 kB / 433.8 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.472e-05/0.2872, allocations: 11.98 kB / 433.8 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.435e-05/0.2872, allocations: 11.81 kB / 433.8 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.2873, allocations: 7.938 kB / 433.8 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.042e-05/0.2873, allocations: 4 kB / 433.8 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.142e-05/0.2873, allocations: 7.984 kB / 433.8 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.12e-05/0.2874, allocations: 19.81 kB / 433.8 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.2875, allocations: 47.61 kB / 433.9 MB, free: 5.484 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2875, allocations: 4 kB / 433.9 MB, free: 5.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2875, allocations: 0 / 433.9 MB, free: 5.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.2875, allocations: 0 / 433.9 MB, free: 5.48 MB / 334.1 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.0005369/0.288, allocations: 357.4 kB / 434.2 MB, free: 5.082 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.2881, allocations: 8.031 kB / 434.3 MB, free: 5.074 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.2881, allocations: 12.88 kB / 434.3 MB, free: 5.062 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.2884, allocations: 188.2 kB / 434.4 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.2884, allocations: 4.375 kB / 434.5 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.2885, allocations: 4.375 kB / 434.5 MB, free: 4.832 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/0.2887, allocations: 85.61 kB / 434.5 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.2887, allocations: 192 / 434.5 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.2887, allocations: 3.938 kB / 434.5 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2887, allocations: 4 kB / 434.5 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.905e-05/0.2888, allocations: 15.92 kB / 434.6 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003643/0.2892, allocations: 253.8 kB / 434.8 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.843e-05/0.2893, allocations: 53.09 kB / 434.9 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.311e-05/0.2893, allocations: 17.77 kB / 434.9 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.2893, allocations: 4 kB / 434.9 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.2894, allocations: 38.55 kB / 434.9 MB, free: 4.262 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.2894, allocations: 0 / 434.9 MB, free: 4.262 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002281/0.2896, allocations: 61.52 kB / 435 MB, free: 4.195 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.209e-05/0.2897, allocations: 77.11 kB / 435.1 MB, free: 4.102 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.2898, allocations: 135.2 kB / 435.2 MB, free: 3.961 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.2898, allocations: 29.7 kB / 435.2 MB, free: 3.926 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.604e-05/0.2899, allocations: 84.12 kB / 435.3 MB, free: 3.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.284e-05/0.2899, allocations: 7.953 kB / 435.3 MB, free: 3.832 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.2899, allocations: 13.72 kB / 435.3 MB, free: 3.812 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.2901, allocations: 318.8 kB / 435.6 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.735e-05/0.2901, allocations: 3.938 kB / 435.6 MB, free: 3.488 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.981e-05/0.2901, allocations: 17.7 kB / 435.7 MB, free: 3.465 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.11e-05/0.2902, allocations: 25.78 kB / 435.7 MB, free: 3.434 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2902, allocations: 0 / 435.7 MB, free: 3.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.607e-05/0.2903, allocations: 49.56 kB / 435.7 MB, free: 3.379 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.2903, allocations: 8 kB / 435.7 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.2903, allocations: 0 / 435.7 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.2903, allocations: 0 / 435.7 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.867e-05/0.2903, allocations: 12 kB / 435.7 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.2903, allocations: 4 kB / 435.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.656e-05/0.2904, allocations: 3.984 kB / 435.8 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.2904, allocations: 0 / 435.8 MB, free: 3.352 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * 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 0.0001093/0.2905, allocations: 113.8 kB / 435.9 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.838e-05/0.2906, allocations: 45.59 kB / 435.9 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.2906, allocations: 15.47 kB / 435.9 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2906, allocations: 0 / 435.9 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2906, allocations: 0 / 435.9 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.2906, allocations: 4.031 kB / 435.9 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.2908, allocations: 169.6 kB / 436.1 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2908, allocations: 0 / 436.1 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.219e-05/0.2908, allocations: 8 kB / 436.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2908, allocations: 0 / 436.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.2908, allocations: 0 / 436.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.2908, allocations: 0 / 436.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2908, allocations: 0 / 436.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.291, allocations: 160.2 kB / 436.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.382e-05/0.291, allocations: 93.05 kB / 436.3 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.2911, allocations: 0 / 436.3 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.362e-05/0.2911, allocations: 7.938 kB / 436.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.2911, allocations: 0 / 436.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.2911, allocations: 0 / 436.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.499e-05/0.2912, allocations: 110.3 kB / 436.5 MB, free: 2.539 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2912, allocations: 0 / 436.5 MB, free: 2.539 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002108/0.2914, allocations: 8.031 kB / 436.5 MB, free: 2.531 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * 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 0.0001131/0.2915, allocations: 95.25 kB / 436.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001228/0.2917, allocations: 19.92 kB / 436.6 MB, free: 2.406 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2917, allocations: 0 / 436.6 MB, free: 2.406 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.436e-05/0.2917, allocations: 4 kB / 436.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.292, allocations: 15.97 kB / 436.6 MB, free: 2.387 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003447/0.2924, allocations: 183.5 kB / 436.8 MB, free: 2.176 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.2927, allocations: 0.6885 MB / 437.5 MB, free: 1.461 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/0.2927, allocations: 7.438 kB / 437.5 MB, free: 1.453 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2927, allocations: 0 / 437.5 MB, free: 1.453 MB / 334.1 MB Notification: Performance of Templates: time 0.002259/0.295, allocations: 0.6266 MB / 438.1 MB, free: 0.8281 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.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: 6.8455301080830395]