Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.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.001888/0.001888, allocations: 122.5 kB / 18.5 MB, free: 4.52 MB / 14.72 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.002108/0.002108, allocations: 215.2 kB / 21.46 MB, free: 1.566 MB / 14.72 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.751/1.751, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5030,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 59.91 kB / 373.8 MB, free: 9.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1564, allocations: 53.32 MB / 427.1 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.004702/0.1611, allocations: 2.018 MB / 429.2 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002493/0.1636, allocations: 1.275 MB / 430.4 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001928/0.1638, allocations: 3.938 kB / 430.4 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008245/0.1646, allocations: 155.4 kB / 430.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005396/0.1652, allocations: 159.4 kB / 430.7 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008928/0.1661, allocations: 213.6 kB / 431 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004013/0.1665, allocations: 227.4 kB / 431.2 MB, free: 460 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.1666, allocations: 32.3 kB / 431.2 MB, free: 428 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.1668, allocations: 91.62 kB / 431.3 MB, free: 336 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.167, allocations: 107.5 kB / 431.4 MB, free: 228 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.867e-05/0.167, allocations: 12 kB / 431.4 MB, free: 216 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001766/0.1672, allocations: 67.89 kB / 431.5 MB, free: 148 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.1673, allocations: 47.84 kB / 431.5 MB, free: 100 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.1674, allocations: 99.39 kB / 431.6 MB, free: 0 / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2775/0.4449, allocations: 256 kB / 431.9 MB, free: 8.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.4449, allocations: 0 / 431.9 MB, free: 8.852 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4449, allocations: 0 / 431.9 MB, free: 8.852 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.4449, allocations: 0.6875 kB / 431.9 MB, free: 8.852 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.0009018/0.4458, allocations: 0.557 MB / 432.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.192e-05/0.4459, allocations: 9.625 kB / 432.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.446, allocations: 28.94 kB / 432.5 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004304/0.4464, allocations: 292 kB / 432.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.4464, allocations: 15.34 kB / 432.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.4465, allocations: 12.78 kB / 432.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006596/0.4471, allocations: 312.8 kB / 433.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.4471, allocations: 3.938 kB / 433.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.4472, allocations: 6.562 kB / 433.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.4472, allocations: 3.156 kB / 433.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.4473, allocations: 58.09 kB / 433.2 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005363/0.4479, allocations: 388.3 kB / 433.5 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003314/0.4482, allocations: 165.4 kB / 433.7 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.4483, allocations: 77.72 kB / 433.8 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.658e-05/0.4484, allocations: 9.969 kB / 433.8 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/0.4485, allocations: 74.27 kB / 433.9 MB, free: 7.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.294e-06/0.4485, allocations: 0 / 433.9 MB, free: 7.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005105/0.449, allocations: 228 kB / 434.1 MB, free: 7.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.004e-05/0.4491, allocations: 150.2 kB / 434.2 MB, free: 7.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000284/0.4494, allocations: 276.8 kB / 434.5 MB, free: 7.301 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.4494, allocations: 29.78 kB / 434.5 MB, free: 7.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.416e-05/0.4495, allocations: 128.2 kB / 434.7 MB, free: 7.184 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.4495, allocations: 36.64 kB / 434.7 MB, free: 7.168 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.339e-05/0.4496, allocations: 46.81 kB / 434.7 MB, free: 7.152 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.057e-05/0.4497, allocations: 340.3 kB / 435.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.155e-05/0.4498, allocations: 39.58 kB / 435.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.4499, allocations: 170.1 kB / 435.3 MB, free: 6.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/0.4501, allocations: 209.4 kB / 435.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4501, allocations: 1.188 kB / 435.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003553/0.4505, allocations: 226.1 kB / 435.7 MB, free: 6.484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.4505, allocations: 6.969 kB / 435.7 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.4505, allocations: 5.312 kB / 435.7 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.4505, allocations: 12.53 kB / 435.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.939e-05/0.4506, allocations: 19.56 kB / 435.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.4506, allocations: 9 kB / 435.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.4508, allocations: 18.3 kB / 435.8 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.4508, allocations: 12.91 kB / 435.8 MB, free: 6.473 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.0001355/0.4509, allocations: 168.4 kB / 435.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/0.4511, allocations: 127.6 kB / 436.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.808e-05/0.4512, allocations: 37.81 kB / 436.1 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.4512, allocations: 2.688 kB / 436.1 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.4512, allocations: 1.375 kB / 436.1 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.4512, allocations: 1.25 kB / 436.1 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.4514, allocations: 250.5 kB / 436.4 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.4514, allocations: 1.125 kB / 436.4 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.204e-05/0.4514, allocations: 13.22 kB / 436.4 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.4514, allocations: 2.188 kB / 436.4 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.4514, allocations: 4.016 kB / 436.4 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.4514, allocations: 4.594 kB / 436.4 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.4515, allocations: 1.094 kB / 436.4 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003411/0.4518, allocations: 235.5 kB / 436.6 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.64e-05/0.4519, allocations: 118.5 kB / 436.7 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/0.4519, allocations: 7.094 kB / 436.7 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.108e-05/0.452, allocations: 9.812 kB / 436.7 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.452, allocations: 8.562 kB / 436.8 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.4521, allocations: 13.11 kB / 436.8 MB, free: 5.887 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001997/0.4523, allocations: 206.3 kB / 437 MB, free: 5.809 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4523, allocations: 0 / 437 MB, free: 5.809 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003294/0.4526, allocations: 46.52 kB / 437 MB, free: 5.805 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.001778/0.4544, allocations: 422.4 kB / 437.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003771/0.4547, allocations: 144.8 kB / 437.6 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4547, allocations: 0 / 437.6 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.755e-05/0.4548, allocations: 23.75 kB / 437.6 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005346/0.4554, allocations: 113.2 kB / 437.7 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007826/0.4561, allocations: 395.6 kB / 438.1 MB, free: 5.414 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.4564, allocations: 0.7535 MB / 438.8 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.4565, allocations: 25.2 kB / 438.9 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.568e-05/0.4566, allocations: 31.89 kB / 438.9 MB, free: 4.703 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4566, allocations: 288 / 438.9 MB, free: 4.703 MB / 350.1 MB Notification: Performance of Templates: time 0.009857/0.4664, allocations: 3.065 MB / 442 MB, free: 4.453 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.44816932361573]