Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 110.8 kB / 17.06 MB, free: 6.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 198.9 kB / 18 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 43.92 kB / 351.3 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3222, allocations: 49.43 MB / 400.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003378/0.3256, allocations: 1.879 MB / 402.6 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.3275, allocations: 1.048 MB / 403.6 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.3276, allocations: 7.938 kB / 403.7 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000728/0.3284, allocations: 143.5 kB / 403.8 MB, free: 5.789 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003248/0.3287, allocations: 119.6 kB / 403.9 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005944/0.3293, allocations: 204.2 kB / 404.1 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002627/0.3296, allocations: 187.4 kB / 404.3 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.3297, allocations: 37.55 kB / 404.3 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.3299, allocations: 79.69 kB / 404.4 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.33, allocations: 67.69 kB / 404.5 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.33, allocations: 12 kB / 404.5 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.3301, allocations: 51.91 kB / 404.5 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.3302, allocations: 47.83 kB / 404.6 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.3304, allocations: 63.55 kB / 404.6 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003981/0.3308, allocations: 208.4 kB / 404.8 MB, free: 4.742 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.13e-05/0.3308, allocations: 3.984 kB / 404.8 MB, free: 4.738 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3308, allocations: 0 / 404.8 MB, free: 4.738 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.663e-05/0.3308, allocations: 0 / 404.8 MB, free: 4.738 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001065/0.3319, allocations: 0.5041 MB / 405.4 MB, free: 4.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.3319, allocations: 19.88 kB / 405.4 MB, free: 4.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.805e-05/0.332, allocations: 20.66 kB / 405.4 MB, free: 4.141 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004031/0.3324, allocations: 258.9 kB / 405.6 MB, free: 3.848 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.3325, allocations: 8.375 kB / 405.7 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.3325, allocations: 12.11 kB / 405.7 MB, free: 3.828 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003809/0.3329, allocations: 146.7 kB / 405.8 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3329, allocations: 0 / 405.8 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.3329, allocations: 0 / 405.8 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.3329, allocations: 0 / 405.8 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.3331, allocations: 39.92 kB / 405.8 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005982/0.3337, allocations: 354.4 kB / 406.2 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.3339, allocations: 111.9 kB / 406.3 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.676e-05/0.334, allocations: 42.58 kB / 406.3 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.666e-05/0.3341, allocations: 3.984 kB / 406.3 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/0.3342, allocations: 79.3 kB / 406.4 MB, free: 2.938 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.3342, allocations: 11.94 kB / 406.4 MB, free: 2.926 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003733/0.3346, allocations: 137.4 kB / 406.6 MB, free: 2.785 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.269e-05/0.3347, allocations: 132.5 kB / 406.7 MB, free: 2.625 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002822/0.335, allocations: 265 kB / 407 MB, free: 2.352 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.335, allocations: 25.7 kB / 407 MB, free: 2.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.891e-05/0.3351, allocations: 120 kB / 407.1 MB, free: 2.199 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.3352, allocations: 16.14 kB / 407.1 MB, free: 2.184 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.775e-05/0.3352, allocations: 33.62 kB / 407.2 MB, free: 2.145 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3354, allocations: 338.7 kB / 407.5 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.726e-05/0.3354, allocations: 16 kB / 407.5 MB, free: 1.789 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.393e-05/0.3355, allocations: 69.98 kB / 407.6 MB, free: 1.699 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.3357, allocations: 80.52 kB / 407.6 MB, free: 1.605 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3357, allocations: 0 / 407.6 MB, free: 1.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001932/0.3359, allocations: 117.4 kB / 407.8 MB, free: 1.484 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.3359, allocations: 8.125 kB / 407.8 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3359, allocations: 0 / 407.8 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.3359, allocations: 4 kB / 407.8 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.058e-05/0.336, allocations: 11.98 kB / 407.8 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.336, allocations: 7.938 kB / 407.8 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.256e-05/0.3361, allocations: 11.88 kB / 407.8 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.3361, allocations: 4 kB / 407.8 MB, free: 1.438 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,subSample1.y,subSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001216/0.3363, allocations: 141.8 kB / 407.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.168e-05/0.3363, allocations: 73.34 kB / 408 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.98e-05/0.3364, allocations: 21.7 kB / 408 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3364, allocations: 4 kB / 408 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.3364, allocations: 3.984 kB / 408 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-06/0.3364, allocations: 3.938 kB / 408 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.3366, allocations: 221.6 kB / 408.3 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3366, allocations: 0 / 408.3 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.646e-05/0.3367, allocations: 11.92 kB / 408.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3367, allocations: 0 / 408.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.3367, allocations: 4 kB / 408.3 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3367, allocations: 4.062 kB / 408.3 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3367, allocations: 0 / 408.3 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.3369, allocations: 154.5 kB / 408.4 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.165e-05/0.337, allocations: 112.8 kB / 408.5 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.3371, allocations: 4.062 kB / 408.6 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.396e-05/0.3371, allocations: 8 kB / 408.6 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/0.3372, allocations: 7.984 kB / 408.6 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.3372, allocations: 11.94 kB / 408.6 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002299/0.3374, allocations: 200.4 kB / 408.8 MB, free: 368 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3374, allocations: 0 / 408.8 MB, free: 368 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.3377, allocations: 31.91 kB / 408.8 MB, free: 336 kB / 318.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: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0009583/0.3387, allocations: 413.4 kB / 409.2 MB, free: 80 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002155/0.3389, allocations: 67.92 kB / 409.3 MB, free: 12 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3389, allocations: 0 / 409.3 MB, free: 12 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.304e-05/0.339, allocations: 40.03 kB / 409.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.3394, allocations: 61.75 kB / 409.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005165/0.3399, allocations: 297.5 kB / 409.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.3402, allocations: 0.7318 MB / 410.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.635e-05/0.3403, allocations: 21.53 kB / 410.4 MB, free: 14.81 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.3404, allocations: 23.38 kB / 410.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3404, allocations: 0 / 410.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of Templates: time 0.006517/0.3469, allocations: 2.414 MB / 412.9 MB, free: 12.41 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches