Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 190.2 kB / 23.7 MB, free: 4.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.7 MB / 252.5 MB, free: 12.83 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 52.06 kB / 370.9 MB, free: 9.207 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2834, allocations: 52.19 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.00328/0.2867, allocations: 1.523 MB / 424.6 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004955/0.2872, allocations: 131.6 kB / 424.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.2873, allocations: 4 kB / 424.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.577e-05/0.2874, allocations: 7.922 kB / 424.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.2875, allocations: 7.938 kB / 424.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.2878, allocations: 43.83 kB / 424.8 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.2879, allocations: 31.86 kB / 424.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.288, allocations: 11.8 kB / 424.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.135e-05/0.2881, allocations: 15.92 kB / 424.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.708e-05/0.2881, allocations: 15.92 kB / 424.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.2881, allocations: 4 kB / 424.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.502e-05/0.2881, allocations: 8 kB / 424.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.392e-05/0.2882, allocations: 11.92 kB / 424.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.596e-05/0.2882, allocations: 15.88 kB / 424.9 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.2883, allocations: 43.81 kB / 424.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2883, allocations: 0 / 424.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2883, allocations: 0 / 424.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.2884, allocations: 0 / 424.9 MB, free: 12.61 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004938/0.2888, allocations: 288.5 kB / 425.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.2889, allocations: 8.031 kB / 425.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/0.2889, allocations: 8.891 kB / 425.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.2891, allocations: 150.2 kB / 425.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.2892, allocations: 4.375 kB / 425.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.2892, allocations: 8.375 kB / 425.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/0.2894, allocations: 113.6 kB / 425.5 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.2895, allocations: 192 / 425.5 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.2895, allocations: 3.938 kB / 425.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.2895, allocations: 4 kB / 425.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.923e-05/0.2895, allocations: 15.94 kB / 425.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002744/0.2898, allocations: 205.4 kB / 425.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.29, allocations: 61.14 kB / 425.8 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.951e-05/0.29, allocations: 25.77 kB / 425.8 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.29, allocations: 3.938 kB / 425.8 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.2901, allocations: 34.56 kB / 425.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.2901, allocations: 0 / 425.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002264/0.2903, allocations: 77.56 kB / 425.9 MB, free: 11.47 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.447e-05/0.2904, allocations: 77.11 kB / 426 MB, free: 11.38 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.2905, allocations: 129.8 kB / 426.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.2905, allocations: 25.7 kB / 426.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.183e-05/0.2906, allocations: 92.09 kB / 426.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.666e-06/0.2906, allocations: 3.938 kB / 426.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.2906, allocations: 21.7 kB / 426.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.2908, allocations: 314.8 kB / 426.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.399e-05/0.2908, allocations: 8 kB / 426.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.639e-05/0.2909, allocations: 39.53 kB / 426.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.755e-05/0.2909, allocations: 39.56 kB / 426.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2909, allocations: 0 / 426.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001175/0.291, allocations: 77.44 kB / 426.7 MB, free: 10.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.2911, allocations: 8 kB / 426.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.2911, allocations: 0 / 426.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.2911, allocations: 4.125 kB / 426.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.271e-05/0.2911, allocations: 4 kB / 426.7 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.2911, allocations: 0 / 426.7 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.023e-05/0.2911, allocations: 4 kB / 426.7 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.2911, allocations: 0 / 426.7 MB, free: 10.56 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.803e-05/0.2912, allocations: 125.8 kB / 426.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.147e-05/0.2913, allocations: 45.59 kB / 426.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.46e-05/0.2913, allocations: 19.92 kB / 426.9 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2913, allocations: 0 / 426.9 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2913, allocations: 0 / 426.9 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2913, allocations: 4 kB / 426.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.2915, allocations: 113.3 kB / 427.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2915, allocations: 0 / 427.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.043e-06/0.2915, allocations: 0 / 427.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.2915, allocations: 3.938 kB / 427.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.2915, allocations: 7.938 kB / 427.1 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2915, allocations: 0 / 427.1 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2915, allocations: 0 / 427.1 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.2917, allocations: 168.3 kB / 427.2 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.522e-05/0.2917, allocations: 15.92 kB / 427.2 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.2917, allocations: 0 / 427.2 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.254e-05/0.2918, allocations: 4 kB / 427.2 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.2918, allocations: 8 kB / 427.3 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.2918, allocations: 0 / 427.3 MB, free: 9.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.713e-05/0.2919, allocations: 102.4 kB / 427.4 MB, free: 9.883 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2919, allocations: 0 / 427.4 MB, free: 9.883 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002229/0.2921, allocations: 8 kB / 427.4 MB, free: 9.875 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: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001047/0.2922, allocations: 99.23 kB / 427.5 MB, free: 9.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001245/0.2923, allocations: 24.11 kB / 427.5 MB, free: 9.746 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2923, allocations: 4.062 kB / 427.5 MB, free: 9.742 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.345e-05/0.2924, allocations: 4 kB / 427.5 MB, free: 9.738 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.2927, allocations: 23.95 kB / 427.5 MB, free: 9.715 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003409/0.293, allocations: 162.3 kB / 427.7 MB, free: 9.527 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.61e-05/0.2931, allocations: 75.19 kB / 427.7 MB, free: 9.434 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.328e-05/0.2931, allocations: 8 kB / 427.8 MB, free: 9.426 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.112e-05/0.2932, allocations: 11.42 kB / 427.8 MB, free: 9.414 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2932, allocations: 0 / 427.8 MB, free: 9.414 MB / 334.1 MB Notification: Performance of Templates: time 0.002991/0.2962, allocations: 0.5298 MB / 428.3 MB, free: 8.898 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.511085906997323]