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.0009527/0.0009527, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009852/0.0009852, allocations: 160.5 kB / 24.55 MB, free: 16 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.027/1.027, allocations: 177 MB / 204.8 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 179] 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.482e-06/1.482e-06, allocations: 0 / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.565e-05, allocations: 5.125 kB / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002975/0.003001, allocations: 1.552 MB / 274.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004662/0.003467, allocations: 143.4 kB / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.886e-05/0.003556, allocations: 0 / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.535e-05/0.003621, allocations: 7.922 kB / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.00378, allocations: 7.938 kB / 274.6 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.004023, allocations: 31.84 kB / 274.6 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.004124, allocations: 31.86 kB / 274.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.004232, allocations: 11.98 kB / 274.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.214e-05/0.004295, allocations: 15.97 kB / 274.7 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.256e-05/0.004327, allocations: 11.94 kB / 274.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.004352, allocations: 4 kB / 274.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.04e-05/0.004362, allocations: 0 / 274.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.311e-05/0.004415, allocations: 11.98 kB / 274.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.69e-05/0.004442, allocations: 7.938 kB / 274.7 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.00456, allocations: 31.84 kB / 274.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.004562, allocations: 0 / 274.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004563, allocations: 0 / 274.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.004567, allocations: 0 / 274.8 MB, free: 15.56 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.0005233/0.005091, allocations: 392.4 kB / 275.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.005142, allocations: 11.98 kB / 275.2 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.764e-05/0.005189, allocations: 12.89 kB / 275.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.005386, allocations: 132.5 kB / 275.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.005407, allocations: 384 / 275.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.005422, allocations: 4.375 kB / 275.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.005659, allocations: 109.6 kB / 275.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.00567, allocations: 192 / 275.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.00568, allocations: 4.375 kB / 275.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.005689, allocations: 4.375 kB / 275.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.541e-05/0.005715, allocations: 7.938 kB / 275.4 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/0.006022, allocations: 263.5 kB / 275.7 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.589e-05/0.006087, allocations: 54.19 kB / 275.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.822e-05/0.006116, allocations: 23.3 kB / 275.8 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.006137, allocations: 0 / 275.8 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.006162, allocations: 37.45 kB / 275.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.006163, allocations: 3.938 kB / 275.8 MB, free: 14.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001662/0.006329, allocations: 53.72 kB / 275.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.006377, allocations: 81.17 kB / 275.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.0065, allocations: 188.9 kB / 276.1 MB, free: 14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.006511, allocations: 25.7 kB / 276.1 MB, free: 13.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.353e-05/0.006575, allocations: 138.8 kB / 276.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.005e-05/0.006585, allocations: 3.953 kB / 276.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/0.006624, allocations: 23.38 kB / 276.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.006773, allocations: 492.1 kB / 276.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.245e-05/0.006786, allocations: 4 kB / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.843e-06/0.006793, allocations: 0 / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.522e-05/0.006818, allocations: 15.69 kB / 276.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.006821, allocations: 4 kB / 276.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.265e-05/0.006883, allocations: 37.69 kB / 276.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.006899, allocations: 7.125 kB / 276.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.006907, allocations: 3.938 kB / 276.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.006926, allocations: 4 kB / 276.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.83e-05/0.006945, allocations: 0 / 276.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.006951, allocations: 0 / 276.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.453e-05/0.006976, allocations: 0 / 276.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.006981, allocations: 0 / 276.9 MB, free: 13.21 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 7.53e-05/0.007056, allocations: 160.6 kB / 277 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.096e-05/0.007107, allocations: 41.58 kB / 277.1 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.034e-05/0.007148, allocations: 15.41 kB / 277.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.007149, allocations: 0 / 277.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.007155, allocations: 4 kB / 277.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.007159, allocations: 0 / 277.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.007297, allocations: 124.6 kB / 277.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.007299, allocations: 0 / 277.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.278e-06/0.007303, allocations: 0 / 277.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.007305, allocations: 0 / 277.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.007311, allocations: 4.031 kB / 277.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.261e-06/0.007317, allocations: 11.92 kB / 277.2 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.007319, allocations: 0 / 277.2 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.007436, allocations: 199.5 kB / 277.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.681e-05/0.007472, allocations: 15.94 kB / 277.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.007485, allocations: 3.938 kB / 277.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.615e-05/0.007541, allocations: 7.938 kB / 277.4 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.007578, allocations: 0 / 277.4 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.007581, allocations: 0 / 277.4 MB, free: 12.56 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.648e-05/0.007648, allocations: 143.1 kB / 277.6 MB, free: 12.42 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007648, allocations: 4.031 kB / 277.6 MB, free: 12.42 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002426/0.00789, allocations: 4 kB / 277.6 MB, free: 12.41 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 8.528e-05/0.007976, allocations: 99.23 kB / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.131e-05/0.008057, allocations: 15.69 kB / 277.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.008058, allocations: 0 / 277.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.576e-05/0.008074, allocations: 11.62 kB / 277.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.008395, allocations: 16.92 kB / 277.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003299/0.008725, allocations: 157.6 kB / 277.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.428e-05/0.008769, allocations: 59.34 kB / 277.9 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.611e-05/0.008785, allocations: 3.984 kB / 277.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.7e-05/0.008812, allocations: 8.5 kB / 278 MB, free: 11.98 MB / 266.7 MB Notification: Performance of SimCode: time 7.02e-07/0.008813, allocations: 0 / 278 MB, free: 11.98 MB / 266.7 MB Notification: Performance of Templates: time 0.002434/0.01125, allocations: 488.1 kB / 278.4 MB, free: 11.51 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 240] 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","",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.844362711068243]