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.0009246/0.0009246, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001026/0.001026, allocations: 171.3 kB / 24.92 MB, free: 9.188 MB / 18.57 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 0.987/0.987, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.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.553e-06/1.553e-06, allocations: 0 / 273.5 MB, free: 1.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.95e-05/2.105e-05, allocations: 2.312 kB / 273.5 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002147/0.002168, allocations: 1.591 MB / 275.1 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000281/0.002449, allocations: 155.4 kB / 275.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.00251, allocations: 3.938 kB / 275.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.711e-05/0.002547, allocations: 3.938 kB / 275.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.002654, allocations: 0 / 275.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.002819, allocations: 43.81 kB / 275.3 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.265e-05/0.002892, allocations: 31.86 kB / 275.3 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.148e-05/0.002953, allocations: 4 kB / 275.3 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.915e-05/0.002993, allocations: 15.97 kB / 275.3 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.374e-05/0.003016, allocations: 15.88 kB / 275.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.003031, allocations: 0 / 275.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.714e-06/0.003039, allocations: 8 kB / 275.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.536e-05/0.003074, allocations: 11.98 kB / 275.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.783e-05/0.003092, allocations: 7.938 kB / 275.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.505e-05/0.003177, allocations: 27.84 kB / 275.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.00318, allocations: 4 kB / 275.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.003181, allocations: 0 / 275.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.003184, allocations: 0 / 275.4 MB, free: 15.35 MB / 266.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.0002417/0.003426, allocations: 252.8 kB / 275.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.753e-05/0.003454, allocations: 12.03 kB / 275.7 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.519e-05/0.003479, allocations: 16.92 kB / 275.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.003597, allocations: 133.7 kB / 275.8 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.003608, allocations: 384 / 275.8 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-06/0.003616, allocations: 8.312 kB / 275.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.00374, allocations: 86.38 kB / 275.9 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.209e-06/0.003745, allocations: 192 / 275.9 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-06/0.003752, allocations: 4.375 kB / 275.9 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.003755, allocations: 384 / 275.9 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.18e-05/0.003767, allocations: 11.88 kB / 275.9 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001349/0.003902, allocations: 153.2 kB / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.486e-05/0.003937, allocations: 41.2 kB / 276.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.252e-05/0.00395, allocations: 9.719 kB / 276.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.003961, allocations: 4 kB / 276.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.003977, allocations: 38.5 kB / 276.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 6.41e-07/0.003978, allocations: 0 / 276.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 8.236e-05/0.00406, allocations: 41.62 kB / 276.2 MB, free: 14.42 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.004094, allocations: 81.05 kB / 276.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.478e-05/0.004159, allocations: 138.9 kB / 276.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.004167, allocations: 29.7 kB / 276.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.824e-05/0.004195, allocations: 84.08 kB / 276.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.571e-06/0.004201, allocations: 0 / 276.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.901e-05/0.00422, allocations: 13.72 kB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.926e-05/0.004289, allocations: 322.8 kB / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.359e-06/0.004294, allocations: 0 / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.529e-06/0.004298, allocations: 0 / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.303e-05/0.004311, allocations: 8.859 kB / 276.9 MB, free: 13.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.004312, allocations: 0 / 276.9 MB, free: 13.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.036e-05/0.004343, allocations: 33.77 kB / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/0.004353, allocations: 7.984 kB / 276.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.004356, allocations: 0 / 276.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.346e-06/0.004365, allocations: 4 kB / 276.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.035e-05/0.004375, allocations: 7.875 kB / 276.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.004378, allocations: 3.984 kB / 276.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.311e-05/0.004391, allocations: 0 / 276.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-06/0.004394, allocations: 0 / 276.9 MB, free: 13.64 MB / 266.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 4.668e-05/0.004441, allocations: 112.7 kB / 277 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/0.00447, allocations: 41.72 kB / 277.1 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.408e-05/0.004494, allocations: 7.469 kB / 277.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.004495, allocations: 0 / 277.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.004498, allocations: 3.938 kB / 277.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.0045, allocations: 0 / 277.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.069e-05/0.004571, allocations: 73.88 kB / 277.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.004571, allocations: 0 / 277.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.896e-06/0.004574, allocations: 0 / 277.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.004576, allocations: 4 kB / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-06/0.00458, allocations: 4 kB / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.004581, allocations: 0 / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-07/0.004582, allocations: 7.969 kB / 277.2 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.117e-05/0.004643, allocations: 140.3 kB / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.896e-05/0.004662, allocations: 15.89 kB / 277.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.745e-06/0.004669, allocations: 3.984 kB / 277.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.147e-05/0.004701, allocations: 3.984 kB / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.928e-05/0.00472, allocations: 4 kB / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-06/0.004722, allocations: 0 / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.841e-05/0.004741, allocations: 31.94 kB / 277.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004741, allocations: 0 / 277.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001043/0.004845, allocations: 8 kB / 277.4 MB, free: 13.13 MB / 266.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 5.352e-05/0.004899, allocations: 80.45 kB / 277.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.026e-05/0.004939, allocations: 12.8 kB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.004942, allocations: 4 kB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.564e-06/0.004949, allocations: 4.859 kB / 277.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.005095, allocations: 16.3 kB / 277.5 MB, free: 12.99 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001816/0.005277, allocations: 143.8 kB / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.503e-05/0.005312, allocations: 63.56 kB / 277.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.174e-05/0.005323, allocations: 4 kB / 277.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.134e-05/0.005365, allocations: 55.36 kB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.005365, allocations: 0 / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of Templates: time 0.00164/0.007005, allocations: 0.4884 MB / 278.2 MB, free: 12.2 MB / 266.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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5137116676196456]