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.001317/0.001317, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.0009008/0.0009008, allocations: 141.1 kB / 24.54 MB, free: 36 kB / 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.092/1.092, allocations: 173.3 MB / 201.1 MB, free: 9.324 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.283e-06/1.283e-06, allocations: 0 / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.928e-05/2.056e-05, allocations: 6.25 kB / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002111/0.002131, allocations: 1.538 MB / 269.5 MB, free: 4.875 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003181/0.002449, allocations: 139.4 kB / 269.7 MB, free: 4.738 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.506e-05/0.002524, allocations: 8 kB / 269.7 MB, free: 4.73 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.17e-05/0.002576, allocations: 3.938 kB / 269.7 MB, free: 4.727 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.002724, allocations: 7.922 kB / 269.7 MB, free: 4.719 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.002925, allocations: 31.86 kB / 269.7 MB, free: 4.688 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.574e-05/0.00301, allocations: 35.84 kB / 269.7 MB, free: 4.652 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.293e-05/0.003103, allocations: 7.984 kB / 269.8 MB, free: 4.645 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.645e-05/0.00315, allocations: 11.98 kB / 269.8 MB, free: 4.633 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.794e-05/0.003178, allocations: 11.94 kB / 269.8 MB, free: 4.621 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.003196, allocations: 0 / 269.8 MB, free: 4.621 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.008e-05/0.003207, allocations: 4 kB / 269.8 MB, free: 4.617 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.288e-05/0.003249, allocations: 7.984 kB / 269.8 MB, free: 4.609 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.248e-05/0.003272, allocations: 19.92 kB / 269.8 MB, free: 4.59 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.343e-05/0.003365, allocations: 23.86 kB / 269.8 MB, free: 4.566 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.003368, allocations: 0 / 269.8 MB, free: 4.566 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.003369, allocations: 0 / 269.8 MB, free: 4.566 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.003373, allocations: 0 / 269.8 MB, free: 4.566 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.0004237/0.003797, allocations: 384.4 kB / 270.2 MB, free: 4.152 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.003835, allocations: 8.922 kB / 270.2 MB, free: 4.145 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.662e-05/0.003871, allocations: 16.89 kB / 270.2 MB, free: 4.129 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.004027, allocations: 139.8 kB / 270.4 MB, free: 3.969 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.004047, allocations: 4.375 kB / 270.4 MB, free: 3.965 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.00406, allocations: 4.375 kB / 270.4 MB, free: 3.961 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.004278, allocations: 109.6 kB / 270.5 MB, free: 3.828 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.00429, allocations: 4.125 kB / 270.5 MB, free: 3.824 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.004299, allocations: 384 / 270.5 MB, free: 3.824 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.004308, allocations: 384 / 270.5 MB, free: 3.824 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.08e-05/0.004329, allocations: 15.92 kB / 270.5 MB, free: 3.809 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002656/0.004594, allocations: 263.5 kB / 270.8 MB, free: 3.512 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.235e-05/0.004647, allocations: 50.12 kB / 270.8 MB, free: 3.438 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.712e-05/0.004674, allocations: 27.42 kB / 270.8 MB, free: 3.402 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.004694, allocations: 0 / 270.8 MB, free: 3.402 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.004718, allocations: 41.39 kB / 270.9 MB, free: 3.352 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.004719, allocations: 0 / 270.9 MB, free: 3.352 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001407/0.004859, allocations: 45.53 kB / 270.9 MB, free: 3.301 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.004908, allocations: 89.09 kB / 271 MB, free: 3.195 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.809e-05/0.004996, allocations: 177.9 kB / 271.2 MB, free: 3.004 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.005006, allocations: 25.7 kB / 271.2 MB, free: 2.973 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.586e-05/0.005062, allocations: 143.1 kB / 271.4 MB, free: 2.828 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.254e-06/0.005069, allocations: 0 / 271.4 MB, free: 2.828 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.005098, allocations: 23.33 kB / 271.4 MB, free: 2.797 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.005203, allocations: 496.1 kB / 271.9 MB, free: 2.301 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.148e-06/0.005213, allocations: 0 / 271.9 MB, free: 2.301 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.402e-06/0.005219, allocations: 4 kB / 271.9 MB, free: 2.297 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.073e-05/0.00524, allocations: 11.62 kB / 271.9 MB, free: 2.281 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.005242, allocations: 0 / 271.9 MB, free: 2.281 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.389e-05/0.005286, allocations: 37.69 kB / 271.9 MB, free: 2.238 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.005299, allocations: 4.094 kB / 271.9 MB, free: 2.234 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.005306, allocations: 7.938 kB / 271.9 MB, free: 2.227 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.005323, allocations: 0 / 271.9 MB, free: 2.227 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.734e-05/0.005341, allocations: 0 / 271.9 MB, free: 2.227 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.005346, allocations: 0 / 271.9 MB, free: 2.227 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.126e-05/0.005368, allocations: 8 kB / 271.9 MB, free: 2.219 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.005372, allocations: 0 / 271.9 MB, free: 2.219 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.819e-05/0.00544, allocations: 156.6 kB / 272.1 MB, free: 2.055 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.432e-05/0.005475, allocations: 45.58 kB / 272.1 MB, free: 2.004 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.426e-05/0.005519, allocations: 11.41 kB / 272.1 MB, free: 1.988 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.005521, allocations: 4.031 kB / 272.1 MB, free: 1.984 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.005525, allocations: 0 / 272.1 MB, free: 1.984 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.005528, allocations: 0 / 272.1 MB, free: 1.984 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.464e-05/0.005623, allocations: 128.6 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.005624, allocations: 0 / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-06/0.005629, allocations: 4 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.005631, allocations: 3.984 kB / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.005637, allocations: 0 / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.005638, allocations: 3.938 kB / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.00564, allocations: 0 / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.47e-05/0.005734, allocations: 207.5 kB / 272.5 MB, free: 1.586 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.261e-05/0.005757, allocations: 7.984 kB / 272.5 MB, free: 1.578 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-06/0.005766, allocations: 0 / 272.5 MB, free: 1.578 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.323e-05/0.005799, allocations: 7.938 kB / 272.5 MB, free: 1.57 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.079e-05/0.00583, allocations: 4 kB / 272.5 MB, free: 1.566 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.005833, allocations: 0 / 272.5 MB, free: 1.566 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.943e-05/0.005882, allocations: 147.1 kB / 272.6 MB, free: 1.422 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005882, allocations: 0 / 272.6 MB, free: 1.422 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001348/0.006017, allocations: 4 kB / 272.7 MB, free: 1.418 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.557e-05/0.006083, allocations: 91.25 kB / 272.7 MB, free: 1.32 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.656e-05/0.006149, allocations: 19.72 kB / 272.8 MB, free: 1.297 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.006151, allocations: 0 / 272.8 MB, free: 1.297 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.208e-05/0.006163, allocations: 11.62 kB / 272.8 MB, free: 1.281 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.006387, allocations: 16.3 kB / 272.8 MB, free: 1.262 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002545/0.006642, allocations: 152.4 kB / 272.9 MB, free: 1.086 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.177e-05/0.006683, allocations: 55.34 kB / 273 MB, free: 1.012 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.368e-05/0.006697, allocations: 4 kB / 273 MB, free: 1.008 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.006724, allocations: 12.72 kB / 273 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of SimCode: time 6.51e-07/0.006724, allocations: 0 / 273 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of Templates: time 0.002085/0.008809, allocations: 498.7 kB / 273.5 MB, free: 0.5117 MB / 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.9002320379950106]