Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 104.6 kB / 19.61 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002323/0.002323, allocations: 197.5 kB / 22.76 MB, free: 5.48 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 251.4 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 47.92 kB / 369.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2726, allocations: 52.13 MB / 421.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002698/0.2753, allocations: 1.498 MB / 422.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000352/0.2757, allocations: 139.5 kB / 422.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.2e-05/0.2757, allocations: 4 kB / 422.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.361e-05/0.2758, allocations: 3.938 kB / 422.9 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.2759, allocations: 7.922 kB / 422.9 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.2761, allocations: 35.91 kB / 423 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.499e-05/0.2762, allocations: 27.92 kB / 423 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.792e-05/0.2763, allocations: 12 kB / 423 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.02e-05/0.2763, allocations: 15.91 kB / 423 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.526e-05/0.2764, allocations: 7.938 kB / 423 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.2764, allocations: 4 kB / 423 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.326e-06/0.2764, allocations: 0 / 423 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.322e-05/0.2764, allocations: 15.92 kB / 423 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.2765, allocations: 15.88 kB / 423.1 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.2766, allocations: 51.55 kB / 423.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2766, allocations: 0 / 423.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2766, allocations: 0 / 423.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.2766, allocations: 0 / 423.1 MB, free: 13.32 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.0004457/0.277, allocations: 372.5 kB / 423.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.277, allocations: 8.031 kB / 423.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.2771, allocations: 8.891 kB / 423.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.2773, allocations: 184.2 kB / 423.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.2773, allocations: 8.375 kB / 423.7 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-06/0.2773, allocations: 384 / 423.7 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.2775, allocations: 89.61 kB / 423.8 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.2775, allocations: 192 / 423.8 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.2776, allocations: 7.938 kB / 423.8 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.2776, allocations: 0 / 423.8 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.619e-05/0.2776, allocations: 15.97 kB / 423.8 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003283/0.2779, allocations: 261.8 kB / 424 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.087e-05/0.278, allocations: 37.16 kB / 424.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.066e-05/0.2781, allocations: 21.77 kB / 424.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.2781, allocations: 3.938 kB / 424.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.2781, allocations: 38.56 kB / 424.1 MB, free: 12.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.2781, allocations: 0 / 424.1 MB, free: 12.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002003/0.2783, allocations: 57.58 kB / 424.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.2784, allocations: 77.11 kB / 424.3 MB, free: 11.94 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.2785, allocations: 129.8 kB / 424.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.2785, allocations: 25.7 kB / 424.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.457e-05/0.2786, allocations: 92.12 kB / 424.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.352e-06/0.2786, allocations: 256 / 424.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.2786, allocations: 17.72 kB / 424.5 MB, free: 11.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.2787, allocations: 314.8 kB / 424.8 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.045e-05/0.2788, allocations: 7.984 kB / 424.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.123e-05/0.2788, allocations: 13.72 kB / 424.9 MB, free: 11.31 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.468e-05/0.2789, allocations: 29.72 kB / 424.9 MB, free: 11.28 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2789, allocations: 0 / 424.9 MB, free: 11.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.529e-05/0.279, allocations: 57.52 kB / 425 MB, free: 11.21 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.279, allocations: 4 kB / 425 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.279, allocations: 7.938 kB / 425 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.279, allocations: 4 kB / 425 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.189e-05/0.279, allocations: 0 / 425 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.279, allocations: 3.984 kB / 425 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.575e-05/0.279, allocations: 4 kB / 425 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.279, allocations: 4.062 kB / 425 MB, free: 11.19 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 9.286e-05/0.2791, allocations: 121.7 kB / 425.1 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.246e-05/0.2792, allocations: 45.58 kB / 425.1 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.386e-05/0.2792, allocations: 3.531 kB / 425.1 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.2792, allocations: 4 kB / 425.1 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2792, allocations: 0 / 425.1 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2792, allocations: 0 / 425.1 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.2794, allocations: 169.6 kB / 425.3 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2794, allocations: 0 / 425.3 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.083e-06/0.2794, allocations: 7.969 kB / 425.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.2794, allocations: 4 kB / 425.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-06/0.2794, allocations: 0 / 425.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2794, allocations: 0 / 425.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2794, allocations: 0 / 425.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.2796, allocations: 156.3 kB / 425.5 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.359e-05/0.2797, allocations: 89.12 kB / 425.6 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.2797, allocations: 0 / 425.6 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.239e-05/0.2797, allocations: 0 / 425.6 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.718e-05/0.2797, allocations: 4 kB / 425.6 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.2797, allocations: 0 / 425.6 MB, free: 10.49 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.369e-05/0.2798, allocations: 110.9 kB / 425.7 MB, free: 10.38 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2798, allocations: 0 / 425.7 MB, free: 10.38 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002111/0.28, allocations: 0 / 425.7 MB, free: 10.38 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 9.742e-05/0.2801, allocations: 104 kB / 425.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001075/0.2802, allocations: 19.98 kB / 425.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.2803, allocations: 4 kB / 425.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.497e-05/0.2803, allocations: 4 kB / 425.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.2806, allocations: 27.02 kB / 425.8 MB, free: 10.22 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003104/0.2809, allocations: 167.9 kB / 426 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.2812, allocations: 0.6964 MB / 426.7 MB, free: 9.301 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.288e-05/0.2812, allocations: 11.44 kB / 426.7 MB, free: 9.289 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2812, allocations: 0 / 426.7 MB, free: 9.289 MB / 334.1 MB Notification: Performance of Templates: time 0.002027/0.2833, allocations: 0.6244 MB / 427.3 MB, free: 8.664 MB / 334.1 MB [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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