Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.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.001859/0.001859, allocations: 79.16 kB / 20.68 MB, free: 1.039 MB / 14.72 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.002144/0.002144, allocations: 151.4 kB / 23.94 MB, free: 4.176 MB / 14.72 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.429/1.429, allocations: 173.3 MB / 200.4 MB, free: 12.86 MB / 190.1 MB " [Timeout remaining time 178] 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.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5030,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5030,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.494e-06/2.494e-06, allocations: 0.7031 kB / 318.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.582e-05, allocations: 3.406 kB / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.002925/0.00295, allocations: 1.962 MB / 320.9 MB, free: 2.242 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.004586, allocations: 1.047 MB / 321.9 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.00473, allocations: 6.812 kB / 321.9 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006777/0.005408, allocations: 168.3 kB / 322.1 MB, free: 1.5 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003294/0.005737, allocations: 123.1 kB / 322.2 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007073/0.006445, allocations: 245.6 kB / 322.5 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.006713, allocations: 229.8 kB / 322.7 MB, free: 1.207 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.006833, allocations: 31.83 kB / 322.7 MB, free: 1.188 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.006994, allocations: 127.5 kB / 322.8 MB, free: 1.129 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.007125, allocations: 82.75 kB / 322.9 MB, free: 1.102 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.007158, allocations: 11.5 kB / 322.9 MB, free: 1.102 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.007328, allocations: 63.67 kB / 323 MB, free: 1.086 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.79e-05/0.007406, allocations: 57.3 kB / 323.1 MB, free: 1.055 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.101e-05/0.007477, allocations: 54.88 kB / 323.1 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003505/0.007827, allocations: 257.8 kB / 323.4 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.00783, allocations: 0 / 323.4 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.007831, allocations: 0 / 323.4 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.007836, allocations: 1.5 kB / 323.4 MB, free: 0.9219 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0006882/0.008524, allocations: 487 kB / 323.8 MB, free: 0.5 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.008559, allocations: 14.19 kB / 323.8 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.759e-05/0.008627, allocations: 24.02 kB / 323.9 MB, free: 496 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.008936, allocations: 229.5 kB / 324.1 MB, free: 296 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.008958, allocations: 10.45 kB / 324.1 MB, free: 292 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.00898, allocations: 13.69 kB / 324.1 MB, free: 288 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005014/0.009482, allocations: 292.3 kB / 324.4 MB, free: 132 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.009495, allocations: 5.312 kB / 324.4 MB, free: 128 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.00951, allocations: 5.375 kB / 324.4 MB, free: 124 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.009517, allocations: 3.453 kB / 324.4 MB, free: 124 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.009663, allocations: 63.91 kB / 324.5 MB, free: 100 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004915/0.01015, allocations: 312.2 kB / 324.8 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003374/0.01049, allocations: 166.2 kB / 324.9 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.01063, allocations: 76.44 kB / 325 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.01066, allocations: 8.812 kB / 325 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/0.01083, allocations: 83.55 kB / 325.1 MB, free: 15.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.843e-06/0.01084, allocations: 0 / 325.1 MB, free: 15.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005592/0.0114, allocations: 235.4 kB / 325.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.0115, allocations: 115.6 kB / 325.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000334/0.01184, allocations: 276.8 kB / 325.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.01186, allocations: 27.86 kB / 325.8 MB, free: 15.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.01197, allocations: 120.7 kB / 325.9 MB, free: 15.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.01201, allocations: 28.66 kB / 325.9 MB, free: 15.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-05/0.01208, allocations: 42.47 kB / 325.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.01224, allocations: 330.5 kB / 326.3 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.625e-05/0.01233, allocations: 27.61 kB / 326.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.01246, allocations: 105.3 kB / 326.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.01263, allocations: 107.4 kB / 326.5 MB, free: 14.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01263, allocations: 5.219 kB / 326.5 MB, free: 14.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002747/0.01291, allocations: 141.5 kB / 326.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.01292, allocations: 7.297 kB / 326.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.01293, allocations: 5.5 kB / 326.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.01295, allocations: 2.188 kB / 326.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.672e-05/0.01303, allocations: 16.44 kB / 326.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.01304, allocations: 6.75 kB / 326.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.04e-05/0.01312, allocations: 9.922 kB / 326.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.01313, allocations: 5.531 kB / 326.7 MB, free: 14.41 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.table1.combiTimeTable.nextTimeEvent,$whenCondition1,table1.combiTimeTable.nextTimeEventScaled,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,table1.y,$CLKPRE.upSample2.b_super,upSample2.b_super,$CLKPRE.upSample1.b_super,upSample1.b_super,$CLKPRE.upSample2.b,upSample2.b,$CLKPRE.upSample1.b,upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001516/0.01328, allocations: 153.1 kB / 326.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/0.01349, allocations: 125.2 kB / 327 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002684/0.01376, allocations: 126.5 kB / 327.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.01376, allocations: 7.406 kB / 327.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.01377, allocations: 1.156 kB / 327.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.01378, allocations: 2.875 kB / 327.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.01397, allocations: 173.7 kB / 327.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.01397, allocations: 1.625 kB / 327.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.673e-05/0.01402, allocations: 11.8 kB / 327.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.01402, allocations: 1.594 kB / 327.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.01404, allocations: 4.078 kB / 327.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.796e-06/0.01405, allocations: 6.531 kB / 327.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01405, allocations: 0 / 327.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003825/0.01443, allocations: 233.2 kB / 327.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.476e-05/0.01453, allocations: 44.19 kB / 327.6 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.03e-05/0.01457, allocations: 7.828 kB / 327.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.503e-05/0.01464, allocations: 8.312 kB / 327.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.01468, allocations: 6.562 kB / 327.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.0147, allocations: 10.84 kB / 327.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002478/0.01495, allocations: 198.2 kB / 327.8 MB, free: 13.67 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01495, allocations: 0 / 327.8 MB, free: 13.67 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002867/0.01524, allocations: 34.78 kB / 327.8 MB, free: 13.67 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition1,table1.y,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,and1.u1,and1.u2,and1.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0017/0.01694, allocations: 467 kB / 328.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003159/0.01726, allocations: 103.7 kB / 328.4 MB, free: 13.42 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.01726, allocations: 0.625 kB / 328.4 MB, free: 13.42 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.374e-05/0.01734, allocations: 27.22 kB / 328.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005311/0.01787, allocations: 125.8 kB / 328.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008671/0.01874, allocations: 397.3 kB / 328.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/0.01895, allocations: 144.9 kB / 329.1 MB, free: 13.01 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.346e-05/0.01903, allocations: 25.86 kB / 329.1 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.021e-05/0.0191, allocations: 28.12 kB / 329.1 MB, free: 12.99 MB / 302.1 MB Notification: Performance of SimCode: time 9.32e-07/0.0191, allocations: 4 kB / 329.1 MB, free: 12.99 MB / 302.1 MB Notification: Performance of Templates: time 0.007928/0.02703, allocations: 3.093 MB / 332.2 MB, free: 12.03 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.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.294953819364309]