Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002011/0.002011, allocations: 115 kB / 18.46 MB, free: 4.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002707/0.002707, allocations: 207.3 kB / 21.41 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.524/1.524, allocations: 230.6 MB / 254.8 MB, free: 14.92 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 47.92 kB / 374.1 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1148, allocations: 53.33 MB / 427.5 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.004785/0.1196, allocations: 2.02 MB / 429.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002633/0.1223, allocations: 1.278 MB / 430.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002341/0.1225, allocations: 3.938 kB / 430.8 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007389/0.1232, allocations: 151.4 kB / 430.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006045/0.1238, allocations: 163.4 kB / 431.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007974/0.1246, allocations: 211 kB / 431.3 MB, free: 484 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004679/0.1251, allocations: 231.4 kB / 431.5 MB, free: 252 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.1253, allocations: 32.28 kB / 431.5 MB, free: 220 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002081/0.1255, allocations: 103.6 kB / 431.6 MB, free: 116 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/0.1257, allocations: 99.47 kB / 431.7 MB, free: 16 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.579e-05/0.1257, allocations: 16 kB / 431.8 MB, free: 0 / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.21/0.3357, allocations: 57.48 kB / 431.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.3358, allocations: 54.5 kB / 431.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.336, allocations: 87.72 kB / 432 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005849/0.3366, allocations: 270.2 kB / 432.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3366, allocations: 0.9062 kB / 432.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3366, allocations: 0.5938 kB / 432.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.3366, allocations: 0.8438 kB / 432.2 MB, free: 8.191 MB / 350.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.0008928/0.3375, allocations: 0.5549 MB / 432.8 MB, free: 7.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.3375, allocations: 9.094 kB / 432.8 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.55e-05/0.3376, allocations: 30.97 kB / 432.8 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003493/0.3379, allocations: 296.5 kB / 433.1 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.338, allocations: 11.66 kB / 433.1 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.401e-05/0.338, allocations: 14.81 kB / 433.1 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005414/0.3385, allocations: 306.6 kB / 433.4 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.3385, allocations: 4.156 kB / 433.4 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.3386, allocations: 2.188 kB / 433.4 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3386, allocations: 4.25 kB / 433.4 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.3387, allocations: 63.33 kB / 433.5 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004657/0.3392, allocations: 385.9 kB / 433.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003081/0.3395, allocations: 163.8 kB / 434 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.3396, allocations: 76.39 kB / 434.1 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.3396, allocations: 5.469 kB / 434.1 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.3398, allocations: 78.42 kB / 434.2 MB, free: 6.949 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.963e-06/0.3398, allocations: 0 / 434.2 MB, free: 6.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005165/0.3403, allocations: 230.9 kB / 434.4 MB, free: 6.906 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/0.3404, allocations: 140 kB / 434.6 MB, free: 6.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/0.3407, allocations: 282.8 kB / 434.8 MB, free: 6.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.3407, allocations: 30.17 kB / 434.9 MB, free: 6.605 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.934e-05/0.3407, allocations: 126 kB / 435 MB, free: 6.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.3408, allocations: 32.2 kB / 435 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.131e-05/0.3409, allocations: 52.56 kB / 435.1 MB, free: 6.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.162e-05/0.3409, allocations: 342.7 kB / 435.4 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.849e-05/0.341, allocations: 38.55 kB / 435.4 MB, free: 6.168 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.3411, allocations: 166.6 kB / 435.6 MB, free: 6.012 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.3413, allocations: 204.6 kB / 435.8 MB, free: 5.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/0.3413, allocations: 2.281 kB / 435.8 MB, free: 5.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000337/0.3417, allocations: 227.9 kB / 436 MB, free: 5.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.3417, allocations: 6.875 kB / 436 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.3417, allocations: 7.359 kB / 436 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.3417, allocations: 6.594 kB / 436.1 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.3418, allocations: 20.28 kB / 436.1 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.3418, allocations: 9.156 kB / 436.1 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.342, allocations: 20.3 kB / 436.1 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.342, allocations: 18.34 kB / 436.1 MB, free: 5.809 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.table1.combiTimeTable.nextTimeEvent,$whenCondition1,table1.combiTimeTable.nextTimeEventScaled,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,table1.y,and1.y,and1.u2,and1.u1,upSample2.u_super,$CLKPRE.upSample2.b_super,upSample2.b_super,upSample2.y,upSample1.u_super,$CLKPRE.upSample1.b_super,upSample1.b_super,upSample1.y,$CLKPRE.upSample2.b,upSample2.b,upSample2.dummy,upSample2.u,$CLKPRE.upSample1.b,upSample1.b,upSample1.dummy,upSample1.u,sample1.y) * 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 (28): * Single equations (assignments): 28 * 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.0001317/0.3421, allocations: 164 kB / 436.3 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/0.3423, allocations: 128.6 kB / 436.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.224e-05/0.3424, allocations: 31.91 kB / 436.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.3424, allocations: 2.375 kB / 436.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.3424, allocations: 1.406 kB / 436.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.3424, allocations: 4.984 kB / 436.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.3426, allocations: 254.7 kB / 436.7 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3426, allocations: 5.031 kB / 436.7 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.918e-05/0.3426, allocations: 9.844 kB / 436.7 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3426, allocations: 2.25 kB / 436.7 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.3426, allocations: 8.688 kB / 436.7 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.3426, allocations: 1.969 kB / 436.7 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3426, allocations: 2.125 kB / 436.7 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003271/0.3429, allocations: 230.9 kB / 436.9 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.344e-05/0.343, allocations: 121.5 kB / 437.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.3431, allocations: 6.781 kB / 437.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.323e-05/0.3431, allocations: 11.25 kB / 437.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.3432, allocations: 2.812 kB / 437.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.3432, allocations: 13.02 kB / 437.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001755/0.3434, allocations: 199.7 kB / 437.3 MB, free: 5.145 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3434, allocations: 1.125 kB / 437.3 MB, free: 5.145 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000342/0.3437, allocations: 44.45 kB / 437.3 MB, free: 5.141 MB / 350.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.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent) * 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 (22): * Single equations (assignments): 20 * 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.001585/0.3453, allocations: 430.3 kB / 437.8 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003395/0.3456, allocations: 137.8 kB / 437.9 MB, free: 4.988 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3456, allocations: 4.312 kB / 437.9 MB, free: 4.984 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.531e-05/0.3457, allocations: 24.05 kB / 437.9 MB, free: 4.984 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000525/0.3462, allocations: 116.4 kB / 438 MB, free: 4.973 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006863/0.3469, allocations: 433.2 kB / 438.5 MB, free: 4.727 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001996/0.3471, allocations: 0.7573 MB / 439.2 MB, free: 4.027 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.134e-05/0.3472, allocations: 24.8 kB / 439.2 MB, free: 4.02 MB / 350.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3472, allocations: 0 / 439.2 MB, free: 4.02 MB / 350.1 MB Notification: Performance of Templates: time 0.00714/0.3543, allocations: 3.3 MB / 442.5 MB, free: 3.688 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.989557041000808]