Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_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_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002056/0.002065, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001876/0.001876, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.708/1.708, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 59.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3767, allocations: 50.55 MB / 409.2 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.004486/0.3813, allocations: 1.902 MB / 411.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002274/0.3836, allocations: 1.216 MB / 412.4 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.3838, allocations: 7.938 kB / 412.4 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007389/0.3846, allocations: 139.6 kB / 412.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004807/0.3851, allocations: 159.4 kB / 412.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005992/0.3857, allocations: 175.4 kB / 412.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003189/0.386, allocations: 187.5 kB / 413 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.3862, allocations: 33.55 kB / 413 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.3863, allocations: 79.62 kB / 413.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.3865, allocations: 75.62 kB / 413.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.3865, allocations: 12 kB / 413.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.3867, allocations: 51.97 kB / 413.3 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.329e-05/0.3868, allocations: 43.84 kB / 413.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.3869, allocations: 83.41 kB / 413.4 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003622/0.3873, allocations: 207 kB / 413.6 MB, free: 13.24 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.3873, allocations: 0 / 413.6 MB, free: 13.24 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3873, allocations: 0 / 413.6 MB, free: 13.24 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.3873, allocations: 0 / 413.6 MB, free: 13.24 MB / 334.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.0008747/0.3882, allocations: 0.517 MB / 414.1 MB, free: 12.67 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3882, allocations: 12.03 kB / 414.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.944e-05/0.3883, allocations: 16.75 kB / 414.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004054/0.3888, allocations: 282.7 kB / 414.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.3888, allocations: 8.375 kB / 414.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.3888, allocations: 12.12 kB / 414.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003396/0.3892, allocations: 138.2 kB / 414.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3892, allocations: 4 kB / 414.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.3892, allocations: 8 kB / 414.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3892, allocations: 0 / 414.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.3893, allocations: 39.89 kB / 414.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005977/0.3899, allocations: 358.4 kB / 415 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002394/0.3902, allocations: 107.9 kB / 415.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.453e-05/0.3903, allocations: 46.56 kB / 415.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.273e-05/0.3903, allocations: 0 / 415.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001803/0.3905, allocations: 75.47 kB / 415.2 MB, free: 11.42 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.3905, allocations: 0 / 415.2 MB, free: 11.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003794/0.3909, allocations: 149.2 kB / 415.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.259e-05/0.391, allocations: 132.5 kB / 415.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.3913, allocations: 273.2 kB / 415.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.3913, allocations: 33.7 kB / 415.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.218e-05/0.3914, allocations: 120 kB / 415.9 MB, free: 10.67 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.3915, allocations: 11.89 kB / 415.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-05/0.3915, allocations: 37.56 kB / 415.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.3917, allocations: 334.8 kB / 416.3 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.909e-05/0.3918, allocations: 20 kB / 416.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.3919, allocations: 73.92 kB / 416.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.392, allocations: 72.23 kB / 416.4 MB, free: 10.08 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3921, allocations: 8.031 kB / 416.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002021/0.3923, allocations: 109.7 kB / 416.5 MB, free: 9.957 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.3923, allocations: 6.812 kB / 416.5 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.3923, allocations: 4.062 kB / 416.5 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.3924, allocations: 4 kB / 416.5 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-05/0.3925, allocations: 19.92 kB / 416.6 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.3925, allocations: 0 / 416.6 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.822e-05/0.3925, allocations: 11.88 kB / 416.6 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.3926, allocations: 8.125 kB / 416.6 MB, free: 9.906 MB / 334.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,table.y,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001484/0.3927, allocations: 145.8 kB / 416.7 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.76e-05/0.3928, allocations: 73.28 kB / 416.8 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.706e-05/0.3929, allocations: 25.7 kB / 416.8 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.3929, allocations: 4 kB / 416.8 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.3929, allocations: 0 / 416.8 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.3929, allocations: 3.938 kB / 416.8 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/0.3932, allocations: 225.6 kB / 417 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3932, allocations: 4.062 kB / 417.1 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.704e-05/0.3932, allocations: 11.94 kB / 417.1 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3932, allocations: 0 / 417.1 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.3932, allocations: 4 kB / 417.1 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3932, allocations: 0 / 417.1 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3932, allocations: 0 / 417.1 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.3935, allocations: 166.4 kB / 417.2 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.3936, allocations: 104.8 kB / 417.3 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.3937, allocations: 4 kB / 417.3 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.852e-05/0.3937, allocations: 11.92 kB / 417.3 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.3938, allocations: 4 kB / 417.4 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.3938, allocations: 7.938 kB / 417.4 MB, free: 9.016 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002133/0.394, allocations: 200.5 kB / 417.6 MB, free: 8.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.394, allocations: 4 kB / 417.6 MB, free: 8.816 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.3943, allocations: 31.98 kB / 417.6 MB, free: 8.785 MB / 334.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,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 (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.001096/0.3954, allocations: 403.9 kB / 418 MB, free: 8.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002492/0.3957, allocations: 75.84 kB / 418.1 MB, free: 8.445 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3957, allocations: 0 / 418.1 MB, free: 8.445 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.586e-05/0.3958, allocations: 23.98 kB / 418.1 MB, free: 8.422 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004882/0.3963, allocations: 73.14 kB / 418.2 MB, free: 8.359 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007688/0.3971, allocations: 324.9 kB / 418.5 MB, free: 8.008 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/0.3975, allocations: 0.7241 MB / 419.2 MB, free: 7.258 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.711e-05/0.3976, allocations: 29.55 kB / 419.2 MB, free: 7.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.225e-05/0.3977, allocations: 19.44 kB / 419.2 MB, free: 7.211 MB / 334.1 MB Notification: Performance of SimCode: time 3.206e-06/0.3977, allocations: 0 / 419.2 MB, free: 7.211 MB / 334.1 MB Notification: Performance of Templates: time 0.006592/0.4043, allocations: 2.443 MB / 421.7 MB, free: 4.785 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches