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.001174/0.001174, allocations: 78.28 kB / 21.42 MB, free: 3.07 MB / 18.57 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.001544/0.001544, allocations: 152.7 kB / 24.8 MB, free: 9.273 MB / 18.57 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.063/1.063, allocations: 173.3 MB / 201.4 MB, free: 9.246 MB / 186.7 MB " [Timeout remaining time 179] 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 1.353e-06/1.353e-06, allocations: 0 / 268.4 MB, free: 6.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.177e-05/1.313e-05, allocations: 6.312 kB / 268.4 MB, free: 6.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.001843/0.001856, allocations: 1.538 MB / 269.9 MB, free: 4.68 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002843/0.00214, allocations: 139.4 kB / 270.1 MB, free: 4.543 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.661e-05/0.002207, allocations: 0 / 270.1 MB, free: 4.543 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.328e-05/0.00225, allocations: 3.938 kB / 270.1 MB, free: 4.539 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.002379, allocations: 4 kB / 270.1 MB, free: 4.535 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.002583, allocations: 47.7 kB / 270.1 MB, free: 4.488 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.283e-05/0.002666, allocations: 31.91 kB / 270.2 MB, free: 4.457 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.002806, allocations: 4 kB / 270.2 MB, free: 4.453 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.198e-05/0.002898, allocations: 15.98 kB / 270.2 MB, free: 4.438 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.744e-05/0.002936, allocations: 7.938 kB / 270.2 MB, free: 4.43 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.002957, allocations: 0 / 270.2 MB, free: 4.43 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.105e-05/0.002968, allocations: 4 kB / 270.2 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.203e-05/0.00302, allocations: 15.92 kB / 270.2 MB, free: 4.41 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.00304, allocations: 11.98 kB / 270.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.003151, allocations: 23.86 kB / 270.2 MB, free: 4.375 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.003155, allocations: 0 / 270.2 MB, free: 4.375 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.003156, allocations: 0 / 270.2 MB, free: 4.375 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.003161, allocations: 0 / 270.2 MB, free: 4.375 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.0003489/0.003509, allocations: 380.5 kB / 270.6 MB, free: 3.965 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.003551, allocations: 16.92 kB / 270.6 MB, free: 3.949 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/0.003581, allocations: 8.891 kB / 270.6 MB, free: 3.941 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.00374, allocations: 144.4 kB / 270.8 MB, free: 3.773 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.003756, allocations: 384 / 270.8 MB, free: 3.773 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.003764, allocations: 12.31 kB / 270.8 MB, free: 3.762 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.003918, allocations: 97.69 kB / 270.9 MB, free: 3.641 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.003924, allocations: 4.125 kB / 270.9 MB, free: 3.637 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.752e-06/0.003931, allocations: 384 / 270.9 MB, free: 3.637 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.003935, allocations: 4.375 kB / 270.9 MB, free: 3.633 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.385e-05/0.003949, allocations: 11.92 kB / 270.9 MB, free: 3.621 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002079/0.004157, allocations: 240.1 kB / 271.1 MB, free: 3.355 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.738e-05/0.004204, allocations: 54.12 kB / 271.2 MB, free: 3.277 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.559e-05/0.00422, allocations: 15.38 kB / 271.2 MB, free: 3.254 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.004237, allocations: 0 / 271.2 MB, free: 3.254 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.004262, allocations: 41.44 kB / 271.3 MB, free: 3.203 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.004263, allocations: 0 / 271.3 MB, free: 3.203 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001194/0.004382, allocations: 57.53 kB / 271.3 MB, free: 3.141 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.00442, allocations: 81.05 kB / 271.4 MB, free: 3.043 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.727e-05/0.004508, allocations: 189.2 kB / 271.6 MB, free: 2.844 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/0.004517, allocations: 25.7 kB / 271.6 MB, free: 2.812 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.021e-05/0.004567, allocations: 134.9 kB / 271.7 MB, free: 2.676 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.616e-06/0.004576, allocations: 0 / 271.7 MB, free: 2.676 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.004607, allocations: 31.31 kB / 271.8 MB, free: 2.637 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.004717, allocations: 492.1 kB / 272.2 MB, free: 2.145 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.995e-06/0.004725, allocations: 0 / 272.2 MB, free: 2.145 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.402e-06/0.004731, allocations: 256 / 272.2 MB, free: 2.145 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.113e-05/0.004753, allocations: 15.75 kB / 272.3 MB, free: 2.125 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.004754, allocations: 0 / 272.3 MB, free: 2.125 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.398e-05/0.004798, allocations: 33.64 kB / 272.3 MB, free: 2.086 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.004812, allocations: 8 kB / 272.3 MB, free: 2.078 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.443e-06/0.004819, allocations: 7.984 kB / 272.3 MB, free: 2.07 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.00483, allocations: 3.938 kB / 272.3 MB, free: 2.066 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.37e-05/0.004844, allocations: 0 / 272.3 MB, free: 2.066 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.004847, allocations: 0 / 272.3 MB, free: 2.066 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.382e-05/0.004871, allocations: 4 kB / 272.3 MB, free: 2.062 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.004875, allocations: 0 / 272.3 MB, free: 2.062 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.251e-05/0.004938, allocations: 160.6 kB / 272.5 MB, free: 1.895 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/0.00497, allocations: 37.66 kB / 272.5 MB, free: 1.852 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.913e-05/0.004999, allocations: 15.44 kB / 272.5 MB, free: 1.832 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.005002, allocations: 3.938 kB / 272.5 MB, free: 1.828 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.005004, allocations: 7.938 kB / 272.5 MB, free: 1.82 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.005007, allocations: 0 / 272.5 MB, free: 1.82 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.957e-05/0.005096, allocations: 93.27 kB / 272.6 MB, free: 1.703 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.005098, allocations: 7.984 kB / 272.6 MB, free: 1.695 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.631e-06/0.005104, allocations: 3.938 kB / 272.6 MB, free: 1.691 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.005106, allocations: 4.031 kB / 272.6 MB, free: 1.688 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.838e-06/0.00511, allocations: 0 / 272.6 MB, free: 1.688 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/0.005113, allocations: 4 kB / 272.6 MB, free: 1.684 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.005113, allocations: 0 / 272.6 MB, free: 1.684 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.776e-05/0.005201, allocations: 195.5 kB / 272.8 MB, free: 1.469 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.31e-05/0.005224, allocations: 11.97 kB / 272.8 MB, free: 1.457 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.005234, allocations: 4 kB / 272.8 MB, free: 1.453 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.813e-05/0.005272, allocations: 0 / 272.8 MB, free: 1.453 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.086e-05/0.005293, allocations: 0 / 272.8 MB, free: 1.453 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.005299, allocations: 11.94 kB / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.299e-05/0.005352, allocations: 143.1 kB / 273 MB, free: 1.301 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005352, allocations: 0 / 273 MB, free: 1.301 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001435/0.005496, allocations: 4 kB / 273 MB, free: 1.297 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 7.787e-05/0.005574, allocations: 99.19 kB / 273.1 MB, free: 1.191 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.688e-05/0.00562, allocations: 11.69 kB / 273.1 MB, free: 1.176 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.005622, allocations: 0 / 273.1 MB, free: 1.176 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.748e-06/0.005631, allocations: 7.688 kB / 273.1 MB, free: 1.164 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.005841, allocations: 23.2 kB / 273.1 MB, free: 1.141 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002033/0.006044, allocations: 157.5 kB / 273.3 MB, free: 0.957 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.413e-05/0.006078, allocations: 63.28 kB / 273.4 MB, free: 0.875 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.379e-05/0.006092, allocations: 0 / 273.4 MB, free: 0.875 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.704e-05/0.006139, allocations: 70.2 kB / 273.4 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of SimCode: time 1.102e-06/0.00614, allocations: 0 / 273.4 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of Templates: time 0.002027/0.008167, allocations: 0.5281 MB / 274 MB, free: 296 kB / 250.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.6211513322778046]