Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001622/0.002735, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001303/0.002332, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.019/1.019, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1079/1.127, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 3.938 kB / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.381e-05/1.548e-05, allocations: 2.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.001979/0.001994, allocations: 1.611 MB / 246.3 MB, free: 12.61 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002272/0.002221, allocations: 144.1 kB / 246.4 MB, free: 12.47 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.193e-05/0.002293, allocations: 0 / 246.4 MB, free: 12.47 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.176e-05/0.002335, allocations: 3.938 kB / 246.5 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.237e-05/0.002407, allocations: 15.86 kB / 246.5 MB, free: 12.45 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.002551, allocations: 27.91 kB / 246.5 MB, free: 12.42 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.479e-05/0.002645, allocations: 31.92 kB / 246.5 MB, free: 12.39 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.374e-05/0.002729, allocations: 15.92 kB / 246.5 MB, free: 12.38 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.14e-05/0.00279, allocations: 19.92 kB / 246.6 MB, free: 12.36 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.221e-05/0.002823, allocations: 11.98 kB / 246.6 MB, free: 12.34 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.002844, allocations: 0 / 246.6 MB, free: 12.34 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.084e-05/0.002855, allocations: 4 kB / 246.6 MB, free: 12.34 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.701e-05/0.002892, allocations: 7.938 kB / 246.6 MB, free: 12.33 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.903e-05/0.002911, allocations: 11.94 kB / 246.6 MB, free: 12.32 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.107e-05/0.003002, allocations: 19.91 kB / 246.6 MB, free: 12.3 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.052e-05/0.003013, allocations: 0 / 246.6 MB, free: 12.3 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.003013, allocations: 7.938 kB / 246.6 MB, free: 12.29 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.003023, allocations: 4 kB / 246.6 MB, free: 12.29 MB / 250.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.0003494/0.003372, allocations: 268.3 kB / 246.9 MB, free: 12 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.003405, allocations: 8.031 kB / 246.9 MB, free: 11.99 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.846e-05/0.003434, allocations: 8.938 kB / 246.9 MB, free: 11.98 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.003585, allocations: 121.7 kB / 247 MB, free: 11.84 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.003602, allocations: 4.375 kB / 247 MB, free: 11.84 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.003612, allocations: 384 / 247 MB, free: 11.84 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.003755, allocations: 102.3 kB / 247.1 MB, free: 11.71 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.003762, allocations: 192 / 247.1 MB, free: 11.71 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.24e-06/0.003767, allocations: 384 / 247.1 MB, free: 11.71 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.003773, allocations: 384 / 247.1 MB, free: 11.71 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.429e-05/0.003787, allocations: 19.86 kB / 247.1 MB, free: 11.7 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001607/0.003948, allocations: 149.2 kB / 247.3 MB, free: 11.53 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.556e-05/0.003993, allocations: 41.12 kB / 247.3 MB, free: 11.47 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.491e-05/0.004008, allocations: 13.66 kB / 247.3 MB, free: 11.45 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.004026, allocations: 12.11 kB / 247.4 MB, free: 11.44 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.004046, allocations: 34.56 kB / 247.4 MB, free: 11.4 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.004047, allocations: 0 / 247.4 MB, free: 11.4 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.000112/0.004159, allocations: 41.64 kB / 247.4 MB, free: 11.35 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.004205, allocations: 85.03 kB / 247.5 MB, free: 11.25 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.681e-05/0.004282, allocations: 126.6 kB / 247.6 MB, free: 11.11 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.004293, allocations: 29.7 kB / 247.7 MB, free: 11.08 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.054e-05/0.004334, allocations: 100.1 kB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.036e-06/0.004342, allocations: 0 / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/0.004365, allocations: 13.72 kB / 247.8 MB, free: 10.96 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.942e-05/0.004454, allocations: 315.1 kB / 248.1 MB, free: 10.64 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.979e-06/0.004459, allocations: 4 kB / 248.1 MB, free: 10.64 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.962e-06/0.004465, allocations: 4 kB / 248.1 MB, free: 10.63 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.65e-05/0.004482, allocations: 8.797 kB / 248.1 MB, free: 10.62 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.004484, allocations: 0 / 248.1 MB, free: 10.62 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.693e-05/0.004521, allocations: 37.69 kB / 248.1 MB, free: 10.58 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.004531, allocations: 4 kB / 248.1 MB, free: 10.57 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.004536, allocations: 0 / 248.1 MB, free: 10.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.004548, allocations: 0 / 248.1 MB, free: 10.57 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.508e-05/0.004563, allocations: 3.938 kB / 248.1 MB, free: 10.57 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-06/0.004566, allocations: 4.094 kB / 248.2 MB, free: 10.57 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.63e-05/0.004582, allocations: 4 kB / 248.2 MB, free: 10.56 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.004586, allocations: 0 / 248.2 MB, free: 10.56 MB / 250.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: 1 (sample1.u) * 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 6.212e-05/0.004648, allocations: 112.7 kB / 248.3 MB, free: 10.44 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.004676, allocations: 41.64 kB / 248.3 MB, free: 10.39 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.119e-05/0.004697, allocations: 3.469 kB / 248.3 MB, free: 10.39 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.004699, allocations: 0 / 248.3 MB, free: 10.39 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.004704, allocations: 11.92 kB / 248.3 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.004708, allocations: 0 / 248.3 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.252e-05/0.00479, allocations: 65.89 kB / 248.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.004791, allocations: 4.031 kB / 248.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.597e-06/0.004794, allocations: 4 kB / 248.4 MB, free: 10.29 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.308e-05/0.004818, allocations: 15.94 kB / 248.4 MB, free: 10.28 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.41e-07/0.004818, allocations: 0 / 248.4 MB, free: 10.28 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/0.004823, allocations: 7.938 kB / 248.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.004824, allocations: 0 / 248.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.004825, allocations: 3.938 kB / 248.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.325e-05/0.004889, allocations: 136.3 kB / 248.6 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.674e-06/0.004896, allocations: 0 / 248.6 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.196e-05/0.004928, allocations: 4 kB / 248.6 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.004e-05/0.004948, allocations: 4.031 kB / 248.6 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.004951, allocations: 0 / 248.6 MB, free: 10.11 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.993e-05/0.004971, allocations: 24.78 kB / 248.6 MB, free: 10.08 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004971, allocations: 0 / 248.6 MB, free: 10.08 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001049/0.005076, allocations: 8 kB / 248.6 MB, free: 10.07 MB / 250.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: 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 6.42e-05/0.005141, allocations: 83.78 kB / 248.7 MB, free: 9.98 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.637e-05/0.005187, allocations: 12.84 kB / 248.7 MB, free: 9.965 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.00519, allocations: 0 / 248.7 MB, free: 9.965 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.368e-05/0.005204, allocations: 16.89 kB / 248.7 MB, free: 9.945 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.005399, allocations: 78.45 kB / 248.8 MB, free: 9.855 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003353/0.005735, allocations: 139.7 kB / 248.9 MB, free: 9.691 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.649e-05/0.005771, allocations: 59.34 kB / 249 MB, free: 9.613 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.253e-05/0.005784, allocations: 0 / 249 MB, free: 9.613 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.305e-05/0.005837, allocations: 55.36 kB / 249 MB, free: 9.559 MB / 250.7 MB Notification: Performance of SimCode: time 5.31e-07/0.005837, allocations: 0 / 249 MB, free: 9.559 MB / 250.7 MB Notification: Performance of Templates: time 0.00192/0.007758, allocations: 0.5076 MB / 249.5 MB, free: 9.066 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.66179112624377]