Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001151/0.001151, allocations: 194 kB / 17.38 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 226.6 MB / 244.7 MB, free: 6.453 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000813/0.0008131, allocations: 96.39 kB / 296.8 MB, free: 6.664 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002865/0.0002865, allocations: 8 kB / 356.8 MB, free: 10.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2818, allocations: 51.29 MB / 408 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.002044/0.2839, allocations: 1.591 MB / 409.6 MB, free: 26.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.2856, allocations: 1.117 MB / 410.8 MB, free: 24.97 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.2858, allocations: 5.344 kB / 410.8 MB, free: 24.97 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007199/0.2865, allocations: 139.4 kB / 410.9 MB, free: 24.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000367/0.2869, allocations: 129.5 kB / 411 MB, free: 24.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005522/0.2874, allocations: 175.4 kB / 411.2 MB, free: 24.54 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.2877, allocations: 168.2 kB / 411.4 MB, free: 24.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.2878, allocations: 36.16 kB / 411.4 MB, free: 24.35 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.056e-05/0.2879, allocations: 59.66 kB / 411.4 MB, free: 24.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.536e-05/0.288, allocations: 67.69 kB / 411.5 MB, free: 24.22 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.288, allocations: 4 kB / 411.5 MB, free: 24.22 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.2881, allocations: 43.95 kB / 411.6 MB, free: 24.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.148e-05/0.2882, allocations: 40.72 kB / 411.6 MB, free: 24.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.015e-05/0.2883, allocations: 89.25 kB / 411.7 MB, free: 24.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.2885, allocations: 157.8 kB / 411.8 MB, free: 23.89 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2885, allocations: 0 / 411.8 MB, free: 23.89 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2885, allocations: 0 / 411.8 MB, free: 23.89 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.2885, allocations: 0.875 kB / 411.8 MB, free: 23.89 MB / 298.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.0006801/0.2892, allocations: 489.1 kB / 412.3 MB, free: 23.36 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.2892, allocations: 8.031 kB / 412.3 MB, free: 23.35 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.063e-05/0.2893, allocations: 27.75 kB / 412.4 MB, free: 23.33 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.2896, allocations: 274.7 kB / 412.6 MB, free: 23.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.2896, allocations: 8.375 kB / 412.6 MB, free: 23.01 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.2896, allocations: 8.125 kB / 412.6 MB, free: 23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/0.2899, allocations: 145 kB / 412.8 MB, free: 22.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.2899, allocations: 0 / 412.8 MB, free: 22.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.2899, allocations: 3.984 kB / 412.8 MB, free: 22.83 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.29, allocations: 8 kB / 412.8 MB, free: 22.82 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.916e-05/0.2901, allocations: 35.91 kB / 412.8 MB, free: 22.79 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004055/0.2905, allocations: 362.4 kB / 413.2 MB, free: 22.38 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.2907, allocations: 111.9 kB / 413.3 MB, free: 22.24 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.841e-05/0.2907, allocations: 42.56 kB / 413.3 MB, free: 22.19 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.2908, allocations: 3.938 kB / 413.3 MB, free: 22.19 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001421/0.2909, allocations: 75.38 kB / 413.4 MB, free: 22.1 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.763e-06/0.2909, allocations: 0 / 413.4 MB, free: 22.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003123/0.2912, allocations: 141.4 kB / 413.5 MB, free: 21.96 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.2913, allocations: 136.5 kB / 413.7 MB, free: 21.79 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.2915, allocations: 273.2 kB / 413.9 MB, free: 21.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.2916, allocations: 29.7 kB / 414 MB, free: 21.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.688e-05/0.2916, allocations: 120 kB / 414.1 MB, free: 21.36 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.2916, allocations: 23.73 kB / 414.1 MB, free: 21.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-06/0.2917, allocations: 0 / 414.1 MB, free: 21.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.463e-05/0.2917, allocations: 330.8 kB / 414.4 MB, free: 21.01 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.21e-05/0.2918, allocations: 27.92 kB / 414.5 MB, free: 20.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.569e-05/0.2919, allocations: 66 kB / 414.5 MB, free: 20.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.292, allocations: 76.22 kB / 414.6 MB, free: 20.8 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.292, allocations: 0 / 414.6 MB, free: 20.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001643/0.2921, allocations: 117.3 kB / 414.7 MB, free: 20.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.2922, allocations: 8 kB / 414.7 MB, free: 20.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2922, allocations: 320 / 414.7 MB, free: 20.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.2922, allocations: 4 kB / 414.7 MB, free: 20.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-05/0.2923, allocations: 19.92 kB / 414.8 MB, free: 20.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.2923, allocations: 8 kB / 414.8 MB, free: 20.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.392e-05/0.2924, allocations: 7.938 kB / 414.8 MB, free: 20.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.2924, allocations: 4 kB / 414.8 MB, free: 20.63 MB / 298.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,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,superSample1.y,superSample1.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 9.707e-05/0.2925, allocations: 142 kB / 414.9 MB, free: 20.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.178e-05/0.2926, allocations: 69.34 kB / 415 MB, free: 20.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.984e-05/0.2926, allocations: 25.7 kB / 415 MB, free: 20.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2926, allocations: 0 / 415 MB, free: 20.38 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.2926, allocations: 0 / 415 MB, free: 20.38 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.2926, allocations: 7.938 kB / 415 MB, free: 20.38 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.2928, allocations: 217.6 kB / 415.2 MB, free: 20.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2928, allocations: 0 / 415.2 MB, free: 20.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.42e-05/0.2928, allocations: 16.05 kB / 415.2 MB, free: 20.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2928, allocations: 4 kB / 415.2 MB, free: 20.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.2929, allocations: 0 / 415.2 MB, free: 20.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2929, allocations: 0 / 415.2 MB, free: 20.09 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.2929, allocations: 4 kB / 415.2 MB, free: 20.09 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.2931, allocations: 154.4 kB / 415.4 MB, free: 19.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.747e-05/0.2931, allocations: 116.8 kB / 415.5 MB, free: 19.78 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.2932, allocations: 4 kB / 415.5 MB, free: 19.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.784e-05/0.2932, allocations: 11.92 kB / 415.5 MB, free: 19.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.2933, allocations: 4 kB / 415.5 MB, free: 19.76 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.2933, allocations: 11.88 kB / 415.5 MB, free: 19.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001505/0.2935, allocations: 200.5 kB / 415.7 MB, free: 19.56 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2935, allocations: 0 / 415.7 MB, free: 19.56 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002357/0.2937, allocations: 27.98 kB / 415.8 MB, free: 19.53 MB / 298.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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.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 (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.0008531/0.2946, allocations: 420.6 kB / 416.2 MB, free: 19.26 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.2948, allocations: 63.91 kB / 416.2 MB, free: 19.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2948, allocations: 0 / 416.2 MB, free: 19.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.129e-05/0.2948, allocations: 27.92 kB / 416.3 MB, free: 19.17 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.2952, allocations: 58.59 kB / 416.3 MB, free: 19.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005238/0.2957, allocations: 381.5 kB / 416.7 MB, free: 18.7 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/0.2959, allocations: 0.7321 MB / 417.4 MB, free: 17.94 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.251e-05/0.296, allocations: 19.44 kB / 417.4 MB, free: 17.92 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.296, allocations: 0 / 417.4 MB, free: 17.92 MB / 298.7 MB Notification: Performance of Templates: time 0.003945/0.3, allocations: 2.61 MB / 420.1 MB, free: 15.32 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches