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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001741/0.001741, allocations: 100 kB / 21.18 MB, free: 0.6484 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.002035/0.002035, allocations: 184.9 kB / 24.45 MB, free: 3.961 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.444/1.444, allocations: 225.7 MB / 253.3 MB, free: 12.81 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.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.002602/0.002602, allocations: 43.92 kB / 371.6 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2678, allocations: 52.19 MB / 423.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003014/0.2709, allocations: 1.515 MB / 425.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000404/0.2713, allocations: 123.6 kB / 425.5 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.971e-05/0.2713, allocations: 4 kB / 425.5 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.358e-05/0.2714, allocations: 7.938 kB / 425.5 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.2715, allocations: 3.938 kB / 425.5 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.2717, allocations: 38.16 kB / 425.5 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.49e-05/0.2718, allocations: 27.92 kB / 425.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.914e-05/0.2719, allocations: 15.78 kB / 425.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.723e-05/0.2719, allocations: 11.94 kB / 425.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.949e-05/0.2719, allocations: 11.91 kB / 425.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.272, allocations: 4 kB / 425.6 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-06/0.272, allocations: 0 / 425.6 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.502e-05/0.272, allocations: 11.94 kB / 425.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.582e-05/0.2721, allocations: 11.88 kB / 425.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.2722, allocations: 51.75 kB / 425.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2722, allocations: 0 / 425.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2722, allocations: 0 / 425.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.2722, allocations: 0 / 425.6 MB, free: 12.62 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.0004385/0.2726, allocations: 284.9 kB / 425.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.2726, allocations: 12.03 kB / 425.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.318e-05/0.2727, allocations: 4.891 kB / 425.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.2729, allocations: 134.4 kB / 426.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.2729, allocations: 384 / 426.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.2729, allocations: 8.375 kB / 426.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.2732, allocations: 89.61 kB / 426.2 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.2732, allocations: 192 / 426.2 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.2732, allocations: 3.938 kB / 426.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.2732, allocations: 0 / 426.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.697e-05/0.2732, allocations: 15.92 kB / 426.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002894/0.2735, allocations: 201.5 kB / 426.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.667e-05/0.2736, allocations: 53.08 kB / 426.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.957e-05/0.2737, allocations: 21.77 kB / 426.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.2737, allocations: 7.938 kB / 426.5 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.2737, allocations: 30.56 kB / 426.5 MB, free: 11.63 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.2737, allocations: 3.938 kB / 426.5 MB, free: 11.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001999/0.2739, allocations: 57.58 kB / 426.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.01e-05/0.274, allocations: 85.09 kB / 426.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.2741, allocations: 129.8 kB / 426.8 MB, free: 11.33 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.2741, allocations: 25.95 kB / 426.8 MB, free: 11.3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.755e-05/0.2742, allocations: 88.14 kB / 426.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.119e-05/0.2742, allocations: 4 kB / 426.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.2742, allocations: 17.67 kB / 426.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.2744, allocations: 318.8 kB / 427.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.784e-05/0.2744, allocations: 4 kB / 427.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.046e-05/0.2744, allocations: 17.66 kB / 427.2 MB, free: 10.83 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.386e-05/0.2745, allocations: 25.7 kB / 427.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2745, allocations: 0 / 427.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.884e-05/0.2746, allocations: 57.62 kB / 427.3 MB, free: 10.74 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.2746, allocations: 8 kB / 427.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.2746, allocations: 0 / 427.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.2746, allocations: 0 / 427.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.397e-05/0.2747, allocations: 0 / 427.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.2747, allocations: 0 / 427.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.74e-05/0.2747, allocations: 4 kB / 427.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.2747, allocations: 4 kB / 427.3 MB, free: 10.72 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 8.902e-05/0.2748, allocations: 113.8 kB / 427.4 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-05/0.2749, allocations: 53.59 kB / 427.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.2749, allocations: 7.469 kB / 427.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.2749, allocations: 0 / 427.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2749, allocations: 0 / 427.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2749, allocations: 0 / 427.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.275, allocations: 113.3 kB / 427.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.275, allocations: 0 / 427.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.748e-06/0.275, allocations: 7.984 kB / 427.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.275, allocations: 3.938 kB / 427.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.2751, allocations: 0 / 427.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2751, allocations: 0 / 427.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2751, allocations: 4.031 kB / 427.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.2752, allocations: 148.4 kB / 427.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.499e-05/0.2753, allocations: 15.94 kB / 427.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.2753, allocations: 7.922 kB / 427.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.354e-05/0.2753, allocations: 3.938 kB / 427.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.553e-05/0.2753, allocations: 7.938 kB / 427.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.2754, allocations: 0 / 427.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.463e-05/0.2754, allocations: 103.1 kB / 427.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2754, allocations: 0 / 427.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002229/0.2757, allocations: 8.031 kB / 427.9 MB, free: 10.07 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.765e-05/0.2758, allocations: 99.23 kB / 428 MB, free: 9.965 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001052/0.2759, allocations: 16 kB / 428 MB, free: 9.949 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2759, allocations: 0 / 428 MB, free: 9.949 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.901e-05/0.2759, allocations: 11.92 kB / 428 MB, free: 9.938 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.2762, allocations: 11.97 kB / 428.1 MB, free: 9.926 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003265/0.2765, allocations: 168.4 kB / 428.2 MB, free: 9.727 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.008e-05/0.2766, allocations: 75.2 kB / 428.3 MB, free: 9.633 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.521e-05/0.2766, allocations: 11.44 kB / 428.3 MB, free: 9.621 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2766, allocations: 0 / 428.3 MB, free: 9.621 MB / 334.1 MB Notification: Performance of Templates: time 0.002185/0.2788, allocations: 0.6209 MB / 428.9 MB, free: 9 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 [Calling sys.exit(0), Time elapsed: 7.052333753090352]