Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00133/0.00133, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001586/0.001587, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.665/1.665, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 60.58 kB / 307 MB, free: 0.5508 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1398, allocations: 50.54 MB / 357.5 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.004123/0.1439, allocations: 1.896 MB / 359.4 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002126/0.1461, allocations: 1.183 MB / 360.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001764/0.1463, allocations: 7.938 kB / 360.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006547/0.147, allocations: 155.5 kB / 360.8 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004246/0.1474, allocations: 155.4 kB / 360.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005738/0.148, allocations: 171 kB / 361.1 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002813/0.1483, allocations: 195.5 kB / 361.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.1484, allocations: 29.53 kB / 361.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.1486, allocations: 83.62 kB / 361.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.1487, allocations: 71.69 kB / 361.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/0.1487, allocations: 8 kB / 361.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.1489, allocations: 47.98 kB / 361.5 MB, free: 10 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.568e-05/0.149, allocations: 47.78 kB / 361.6 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.857e-05/0.1491, allocations: 79.47 kB / 361.6 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003299/0.1494, allocations: 207.6 kB / 361.8 MB, free: 9.672 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1495, allocations: 0 / 361.8 MB, free: 9.672 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1495, allocations: 4 kB / 361.9 MB, free: 9.668 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1495, allocations: 0 / 361.9 MB, free: 9.668 MB / 302.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.0009175/0.1504, allocations: 0.5079 MB / 362.4 MB, free: 9.105 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.1505, allocations: 8.031 kB / 362.4 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.195e-05/0.1505, allocations: 24.66 kB / 362.4 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003838/0.1509, allocations: 270.7 kB / 362.7 MB, free: 8.766 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.1509, allocations: 4.375 kB / 362.7 MB, free: 8.762 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.151, allocations: 12.12 kB / 362.7 MB, free: 8.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003624/0.1513, allocations: 142.7 kB / 362.8 MB, free: 8.586 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.1514, allocations: 0 / 362.8 MB, free: 8.586 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.1514, allocations: 4 kB / 362.8 MB, free: 8.582 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1514, allocations: 0 / 362.8 MB, free: 8.582 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.1515, allocations: 35.91 kB / 362.8 MB, free: 8.547 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000545/0.1521, allocations: 370.3 kB / 363.2 MB, free: 8.129 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.1523, allocations: 111.8 kB / 363.3 MB, free: 7.992 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.512e-05/0.1524, allocations: 42.56 kB / 363.4 MB, free: 7.941 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.1525, allocations: 7.984 kB / 363.4 MB, free: 7.934 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/0.1526, allocations: 75.38 kB / 363.4 MB, free: 7.848 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.1527, allocations: 0 / 363.4 MB, free: 7.848 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003891/0.153, allocations: 145.3 kB / 363.6 MB, free: 7.699 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/0.1532, allocations: 128.5 kB / 363.7 MB, free: 7.543 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003316/0.1535, allocations: 272.9 kB / 364 MB, free: 7.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.1536, allocations: 33.7 kB / 364 MB, free: 7.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.1537, allocations: 120.4 kB / 364.1 MB, free: 7.109 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.1537, allocations: 19.73 kB / 364.1 MB, free: 7.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.978e-05/0.1538, allocations: 29.72 kB / 364.2 MB, free: 7.055 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.154, allocations: 334.8 kB / 364.5 MB, free: 6.719 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.396e-05/0.154, allocations: 20 kB / 364.5 MB, free: 6.699 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.1542, allocations: 73.86 kB / 364.6 MB, free: 6.605 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.1543, allocations: 76.27 kB / 364.7 MB, free: 6.516 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.1543, allocations: 7.984 kB / 364.7 MB, free: 6.508 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002249/0.1546, allocations: 105.6 kB / 364.8 MB, free: 6.398 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.1546, allocations: 8 kB / 364.8 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1546, allocations: 4 kB / 364.8 MB, free: 6.387 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.1546, allocations: 3.984 kB / 364.8 MB, free: 6.383 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.398e-05/0.1547, allocations: 15.94 kB / 364.8 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1547, allocations: 0 / 364.8 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.621e-05/0.1548, allocations: 11.84 kB / 364.8 MB, free: 6.355 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.1548, allocations: 4 kB / 364.8 MB, free: 6.352 MB / 302.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.0001406/0.155, allocations: 147.8 kB / 365 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.1551, allocations: 69.44 kB / 365 MB, free: 6.125 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.663e-05/0.1551, allocations: 21.7 kB / 365.1 MB, free: 6.105 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.1552, allocations: 4 kB / 365.1 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1552, allocations: 0 / 365.1 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.1552, allocations: 3.938 kB / 365.1 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.1554, allocations: 237.4 kB / 365.3 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.1554, allocations: 0 / 365.3 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.61e-05/0.1555, allocations: 7.938 kB / 365.3 MB, free: 5.809 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1555, allocations: 0 / 365.3 MB, free: 5.809 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.1555, allocations: 4.062 kB / 365.3 MB, free: 5.805 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1555, allocations: 4 kB / 365.3 MB, free: 5.801 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1555, allocations: 0 / 365.3 MB, free: 5.801 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.1558, allocations: 162.4 kB / 365.5 MB, free: 5.617 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.433e-05/0.1559, allocations: 100.9 kB / 365.6 MB, free: 5.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.468e-05/0.1559, allocations: 8 kB / 365.6 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.818e-05/0.156, allocations: 7.984 kB / 365.6 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.1561, allocations: 4 kB / 365.6 MB, free: 5.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.1561, allocations: 7.938 kB / 365.6 MB, free: 5.473 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002239/0.1563, allocations: 200.5 kB / 365.8 MB, free: 5.273 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1563, allocations: 0 / 365.8 MB, free: 5.273 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.1566, allocations: 39.89 kB / 365.8 MB, free: 5.234 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: 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.001559/0.1582, allocations: 408.6 kB / 366.2 MB, free: 4.961 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002401/0.1584, allocations: 75.84 kB / 366.3 MB, free: 4.887 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1584, allocations: 0 / 366.3 MB, free: 4.887 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.776e-05/0.1585, allocations: 27.98 kB / 366.3 MB, free: 4.859 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.1589, allocations: 62.75 kB / 366.4 MB, free: 4.805 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006847/0.1596, allocations: 325.1 kB / 366.7 MB, free: 4.449 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004652/0.1601, allocations: 0.7241 MB / 367.4 MB, free: 3.699 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001006/0.1602, allocations: 29.52 kB / 367.5 MB, free: 3.672 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.428e-05/0.1603, allocations: 15.44 kB / 367.5 MB, free: 3.656 MB / 302.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1603, allocations: 0 / 367.5 MB, free: 3.656 MB / 302.1 MB Notification: Performance of Templates: time 0.007848/0.1681, allocations: 2.433 MB / 369.9 MB, free: 1.246 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches