Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001788/0.001788, allocations: 100.2 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002204/0.002204, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.559/1.559, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.997e-05/3.146e-05, allocations: 2.312 kB / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002943/0.002974, allocations: 1.519 MB / 273.7 MB, free: 296 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004105/0.003385, allocations: 143.5 kB / 273.9 MB, free: 152 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.589e-05/0.003451, allocations: 0 / 273.9 MB, free: 152 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.155e-05/0.003502, allocations: 3.938 kB / 273.9 MB, free: 148 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.003621, allocations: 7.938 kB / 273.9 MB, free: 140 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.003862, allocations: 35.78 kB / 273.9 MB, free: 104 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.699e-05/0.003959, allocations: 27.92 kB / 273.9 MB, free: 76 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.008e-05/0.004049, allocations: 11.98 kB / 273.9 MB, free: 64 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.503e-05/0.004104, allocations: 15.92 kB / 274 MB, free: 48 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.535e-05/0.00413, allocations: 4 kB / 274 MB, free: 44 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.004147, allocations: 0 / 274 MB, free: 44 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.125e-05/0.004158, allocations: 4 kB / 274 MB, free: 40 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.985e-05/0.004208, allocations: 23.91 kB / 274 MB, free: 16 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.574e-05/0.004234, allocations: 4 kB / 274 MB, free: 12 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.004359, allocations: 39.81 kB / 274 MB, free: 15.97 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.004362, allocations: 4 kB / 274 MB, free: 15.97 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.004363, allocations: 0 / 274 MB, free: 15.97 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.004367, allocations: 0 / 274 MB, free: 15.97 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.0004729/0.00484, allocations: 282.1 kB / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.004879, allocations: 11.98 kB / 274.3 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.168e-05/0.004921, allocations: 4.938 kB / 274.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.005174, allocations: 145.5 kB / 274.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.005199, allocations: 4.375 kB / 274.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.005208, allocations: 384 / 274.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.005466, allocations: 89.61 kB / 274.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.005475, allocations: 192 / 274.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.005483, allocations: 384 / 274.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.005491, allocations: 4.375 kB / 274.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.631e-05/0.005547, allocations: 11.94 kB / 274.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.005915, allocations: 209.4 kB / 274.8 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.745e-05/0.006002, allocations: 37.22 kB / 274.8 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.093e-05/0.006053, allocations: 21.77 kB / 274.8 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.006079, allocations: 3.938 kB / 274.8 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.006118, allocations: 34.56 kB / 274.9 MB, free: 14.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.006119, allocations: 0 / 274.9 MB, free: 14.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002509/0.00637, allocations: 61.52 kB / 274.9 MB, free: 14.92 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.902e-05/0.006449, allocations: 77.11 kB / 275 MB, free: 14.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.006603, allocations: 136.9 kB / 275.1 MB, free: 14.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.006626, allocations: 29.7 kB / 275.2 MB, free: 14.65 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.681e-05/0.006703, allocations: 92.12 kB / 275.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.065e-06/0.006711, allocations: 0 / 275.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.006751, allocations: 17.67 kB / 275.3 MB, free: 14.53 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.006934, allocations: 314.8 kB / 275.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.946e-05/0.006964, allocations: 4 kB / 275.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.008e-05/0.006984, allocations: 7.984 kB / 275.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.946e-05/0.007033, allocations: 16.8 kB / 275.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.007035, allocations: 64 / 275.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.821e-05/0.007123, allocations: 49.69 kB / 275.7 MB, free: 14.13 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.007137, allocations: 4 kB / 275.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.007143, allocations: 3.938 kB / 275.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.007157, allocations: 0 / 275.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.453e-05/0.007171, allocations: 0 / 275.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.007176, allocations: 0 / 275.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.387e-05/0.0072, allocations: 7.938 kB / 275.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-06/0.007204, allocations: 0 / 275.7 MB, free: 14.11 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 0.0001126/0.007316, allocations: 117.8 kB / 275.8 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-05/0.007385, allocations: 45.62 kB / 275.8 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.007415, allocations: 11.41 kB / 275.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.007419, allocations: 4 kB / 275.9 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.007429, allocations: 3.984 kB / 275.9 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.007431, allocations: 0 / 275.9 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.007593, allocations: 113.3 kB / 276 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.007594, allocations: 0 / 276 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.29e-06/0.0076, allocations: 0 / 276 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.227e-06/0.007604, allocations: 4 kB / 276 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.00761, allocations: 0 / 276 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.007613, allocations: 7.969 kB / 276 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.007614, allocations: 0 / 276 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.007798, allocations: 152.3 kB / 276.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.007835, allocations: 15.95 kB / 276.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.007852, allocations: 3.984 kB / 276.1 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.585e-05/0.007908, allocations: 3.938 kB / 276.1 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.007945, allocations: 4 kB / 276.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.007948, allocations: 0 / 276.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.363e-05/0.008032, allocations: 99.27 kB / 276.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008032, allocations: 4 kB / 276.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002167/0.008249, allocations: 4.031 kB / 276.3 MB, free: 13.47 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 0.0001266/0.008375, allocations: 99.23 kB / 276.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001091/0.008484, allocations: 12 kB / 276.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.008486, allocations: 0 / 276.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.99e-05/0.008516, allocations: 11.92 kB / 276.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.008839, allocations: 16.25 kB / 276.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003254/0.009164, allocations: 151.7 kB / 276.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.207e-05/0.009246, allocations: 71.34 kB / 276.6 MB, free: 13.06 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.66e-05/0.009263, allocations: 0 / 276.6 MB, free: 13.06 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.646e-05/0.009289, allocations: 12.5 kB / 276.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of SimCode: time 3.71e-07/0.00929, allocations: 0 / 276.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of Templates: time 0.002832/0.01212, allocations: 492.2 kB / 277.1 MB, free: 12.58 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.396369196008891]