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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001444/0.001444, allocations: 196.5 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.696/1.696, allocations: 226.5 MB / 245.4 MB, free: 8.238 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000833/0.0008332, allocations: 94.88 kB / 297.5 MB, free: 6.922 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002788/0.0002788, allocations: 8 kB / 358.1 MB, free: 10.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2866, allocations: 51.3 MB / 409.4 MB, free: 27.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.116/0.4027, allocations: 82.26 MB / 491.6 MB, free: 9.289 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/0.403, allocations: 83.95 kB / 491.7 MB, free: 9.207 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02152/0.4246, allocations: 7.351 MB / 499.1 MB, free: 1.867 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4246, allocations: 0 / 499.1 MB, free: 1.867 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.172e-05/0.4247, allocations: 8 kB / 499.1 MB, free: 1.859 MB / 362.7 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.0008051/0.4255, allocations: 0.5197 MB / 499.6 MB, free: 1.281 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.4255, allocations: 8.031 kB / 499.6 MB, free: 1.273 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.504e-05/0.4256, allocations: 24.75 kB / 499.6 MB, free: 1.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/0.426, allocations: 278.7 kB / 499.9 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.426, allocations: 8.375 kB / 499.9 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.4261, allocations: 4.375 kB / 499.9 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004229/0.4265, allocations: 154.9 kB / 0.4883 GB, free: 0.7539 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.4265, allocations: 4.125 kB / 0.4883 GB, free: 0.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.4265, allocations: 7.938 kB / 0.4884 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.4266, allocations: 0 / 0.4884 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.4267, allocations: 39.92 kB / 0.4884 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005972/0.4273, allocations: 374.2 kB / 0.4887 GB, free: 288 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.4275, allocations: 115.9 kB / 0.4889 GB, free: 144 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.4276, allocations: 46.56 kB / 0.4889 GB, free: 88 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.4277, allocations: 3.984 kB / 0.4889 GB, free: 84 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.4278, allocations: 71.39 kB / 0.489 GB, free: 0 / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.724e-06/0.4279, allocations: 0 / 0.489 GB, free: 0 / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003938/0.4283, allocations: 145.3 kB / 0.4891 GB, free: 15.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.915e-05/0.4284, allocations: 144.8 kB / 0.4893 GB, free: 15.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003154/0.4287, allocations: 265 kB / 0.4895 GB, free: 15.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.4287, allocations: 29.7 kB / 0.4895 GB, free: 15.37 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.185e-05/0.4288, allocations: 120 kB / 0.4896 GB, free: 15.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.4288, allocations: 23.86 kB / 0.4897 GB, free: 15.22 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/0.4288, allocations: 0 / 0.4897 GB, free: 15.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.429, allocations: 330.8 kB / 0.49 GB, free: 14.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.878e-05/0.4291, allocations: 27.98 kB / 0.49 GB, free: 14.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.4292, allocations: 69.88 kB / 0.4901 GB, free: 14.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.4294, allocations: 84.25 kB / 0.4902 GB, free: 14.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.4294, allocations: 0 / 0.4902 GB, free: 14.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002091/0.4296, allocations: 113.4 kB / 0.4903 GB, free: 14.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.4297, allocations: 7.984 kB / 0.4903 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.4297, allocations: 0 / 0.4903 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.4297, allocations: 4 kB / 0.4903 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.519e-05/0.4298, allocations: 11.94 kB / 0.4903 GB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.4298, allocations: 4 kB / 0.4903 GB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.284e-05/0.4299, allocations: 16.11 kB / 0.4903 GB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.4299, allocations: 4 kB / 0.4903 GB, free: 14.51 MB / 378.7 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 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001547/0.4301, allocations: 145.7 kB / 0.4905 GB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.822e-05/0.4302, allocations: 65.36 kB / 0.4905 GB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002614/0.4304, allocations: 111.3 kB / 0.4906 GB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.4304, allocations: 4 kB / 0.4906 GB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.4305, allocations: 4.062 kB / 0.4906 GB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.4305, allocations: 4.297 kB / 0.4906 GB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.4307, allocations: 241.5 kB / 0.4909 GB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.4307, allocations: 4 kB / 0.4909 GB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.084e-05/0.4308, allocations: 8 kB / 0.4909 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4308, allocations: 0 / 0.4909 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.4308, allocations: 7.984 kB / 0.4909 GB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4308, allocations: 0 / 0.4909 GB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4308, allocations: 3.938 kB / 0.4909 GB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.4311, allocations: 166.5 kB / 0.491 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/0.4313, allocations: 116.8 kB / 0.4912 GB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/0.4313, allocations: 0 / 0.4912 GB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.4314, allocations: 11.98 kB / 0.4912 GB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.969e-05/0.4315, allocations: 4 kB / 0.4912 GB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.4315, allocations: 7.984 kB / 0.4912 GB, free: 13.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003369/0.4319, allocations: 204.5 kB / 0.4914 GB, free: 13.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.328e-06/0.4319, allocations: 0 / 0.4914 GB, free: 13.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003096/0.4322, allocations: 39.88 kB / 0.4914 GB, free: 13.27 MB / 378.7 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.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001035/0.4333, allocations: 419.6 kB / 0.4918 GB, free: 13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002948/0.4336, allocations: 67.91 kB / 0.4919 GB, free: 12.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4336, allocations: 256 / 0.4919 GB, free: 12.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.042e-05/0.4337, allocations: 43.91 kB / 0.4919 GB, free: 12.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.4341, allocations: 68.88 kB / 0.492 GB, free: 12.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006154/0.4348, allocations: 357 kB / 0.4923 GB, free: 12.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.4351, allocations: 0.7361 MB / 0.493 GB, free: 11.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.368e-05/0.4352, allocations: 21.55 kB / 0.4931 GB, free: 11.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.729e-05/0.4353, allocations: 19.42 kB / 0.4931 GB, free: 11.64 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4353, allocations: 0 / 0.4931 GB, free: 11.64 MB / 378.7 MB Notification: Performance of Templates: time 0.006016/0.4413, allocations: 2.371 MB / 0.4954 GB, free: 9.289 MB / 378.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches