Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.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.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001937/0.001937, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002435/0.002436, allocations: 197.2 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.496/1.496, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 60.08 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3733, allocations: 50.54 MB / 409.2 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.003906/0.3773, allocations: 2.007 MB / 411.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002323/0.3797, allocations: 1.251 MB / 412.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001665/0.3798, allocations: 0 / 412.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007045/0.3806, allocations: 159.4 kB / 412.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004092/0.381, allocations: 167.3 kB / 412.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006063/0.3816, allocations: 206.9 kB / 413 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003105/0.3819, allocations: 227.4 kB / 413.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.3821, allocations: 48.28 kB / 413.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.3822, allocations: 95.61 kB / 413.4 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.3824, allocations: 103.5 kB / 413.5 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.3824, allocations: 12 kB / 413.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.3826, allocations: 63.95 kB / 413.6 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.663e-05/0.3827, allocations: 51.83 kB / 413.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.3828, allocations: 95.41 kB / 413.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003894/0.3832, allocations: 262.8 kB / 414 MB, free: 12.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.227e-05/0.3832, allocations: 4 kB / 414 MB, free: 12.85 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3832, allocations: 0 / 414 MB, free: 12.85 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.3832, allocations: 0 / 414 MB, free: 12.85 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0009528/0.3842, allocations: 0.552 MB / 414.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.3842, allocations: 12.03 kB / 414.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.285e-05/0.3843, allocations: 24.66 kB / 414.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004964/0.3848, allocations: 290.7 kB / 414.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.419e-05/0.3849, allocations: 12.38 kB / 414.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-05/0.3849, allocations: 16.12 kB / 414.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006882/0.3856, allocations: 289.5 kB / 415.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.3856, allocations: 0 / 415.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.3857, allocations: 7.938 kB / 415.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.3857, allocations: 11.98 kB / 415.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.3859, allocations: 59.91 kB / 415.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006802/0.3866, allocations: 398.2 kB / 415.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000381/0.387, allocations: 172 kB / 415.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.3871, allocations: 86.48 kB / 415.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/0.3872, allocations: 7.984 kB / 415.9 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.3873, allocations: 79.33 kB / 415.9 MB, free: 10.65 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.734e-06/0.3874, allocations: 0 / 415.9 MB, free: 10.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.000497/0.3879, allocations: 225.3 kB / 416.2 MB, free: 10.42 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.388, allocations: 144.4 kB / 416.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003037/0.3883, allocations: 277 kB / 416.6 MB, free: 9.965 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.3883, allocations: 33.7 kB / 416.6 MB, free: 9.926 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.974e-05/0.3884, allocations: 120.6 kB / 416.7 MB, free: 9.801 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.3885, allocations: 31.7 kB / 416.8 MB, free: 9.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.586e-05/0.3886, allocations: 49.94 kB / 416.8 MB, free: 9.715 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3887, allocations: 338.8 kB / 417.1 MB, free: 9.375 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.497e-05/0.3888, allocations: 40.44 kB / 417.2 MB, free: 9.336 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.389, allocations: 170 kB / 417.3 MB, free: 9.109 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.3892, allocations: 199.2 kB / 417.5 MB, free: 8.859 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3892, allocations: 0 / 417.5 MB, free: 8.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003337/0.3896, allocations: 229 kB / 417.8 MB, free: 8.629 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.3896, allocations: 4 kB / 417.8 MB, free: 8.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.3896, allocations: 4.531 kB / 417.8 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.3896, allocations: 12 kB / 417.8 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.3897, allocations: 27.92 kB / 417.8 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.069e-05/0.3898, allocations: 7.938 kB / 417.8 MB, free: 8.574 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.3899, allocations: 24.47 kB / 417.8 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.3899, allocations: 12 kB / 417.9 MB, free: 8.539 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.table1.combiTimeTable.nextTimeEvent,$whenCondition1,table1.combiTimeTable.nextTimeEventScaled,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,table1.y,and1.y,and1.u2,and1.u1,upSample2.u_super,$CLKPRE.upSample2.b_super,upSample2.b_super,upSample2.y,upSample1.u_super,$CLKPRE.upSample1.b_super,upSample1.b_super,upSample1.y,$CLKPRE.upSample2.b,upSample2.b,upSample2.dummy,upSample2.u,$CLKPRE.upSample1.b,upSample1.b,upSample1.dummy,upSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.000156/0.3901, allocations: 175.9 kB / 418 MB, free: 8.359 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/0.3903, allocations: 129.2 kB / 418.1 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.836e-05/0.3904, allocations: 33.7 kB / 418.2 MB, free: 8.191 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3904, allocations: 4 kB / 418.2 MB, free: 8.188 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3904, allocations: 0 / 418.2 MB, free: 8.188 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.3904, allocations: 3.938 kB / 418.2 MB, free: 8.184 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002876/0.3907, allocations: 245.5 kB / 418.4 MB, free: 7.895 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3907, allocations: 0 / 418.4 MB, free: 7.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.047e-05/0.3907, allocations: 15.92 kB / 418.4 MB, free: 7.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3907, allocations: 0 / 418.4 MB, free: 7.879 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.3908, allocations: 8 kB / 418.5 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.3908, allocations: 0 / 418.5 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3908, allocations: 3.938 kB / 418.5 MB, free: 7.867 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003486/0.3911, allocations: 229.8 kB / 418.7 MB, free: 7.621 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.3913, allocations: 116.7 kB / 418.8 MB, free: 7.488 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.609e-05/0.3913, allocations: 8 kB / 418.8 MB, free: 7.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.846e-05/0.3914, allocations: 11.98 kB / 418.8 MB, free: 7.469 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.3915, allocations: 4 kB / 418.8 MB, free: 7.465 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.3915, allocations: 12 kB / 418.8 MB, free: 7.453 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001968/0.3917, allocations: 208.4 kB / 419 MB, free: 7.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3917, allocations: 0 / 419 MB, free: 7.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004264/0.3921, allocations: 55.83 kB / 419.1 MB, free: 7.195 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: 20 ($whenCondition1,table1.y,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,and1.u1,and1.u2,and1.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent) * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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.001139/0.3933, allocations: 413.4 kB / 419.5 MB, free: 6.922 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003719/0.3937, allocations: 147.9 kB / 419.6 MB, free: 6.777 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3937, allocations: 0 / 419.6 MB, free: 6.777 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.998e-05/0.3937, allocations: 20 kB / 419.7 MB, free: 6.758 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000506/0.3943, allocations: 129.9 kB / 419.8 MB, free: 6.637 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008652/0.3952, allocations: 390.4 kB / 420.2 MB, free: 6.227 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005333/0.3957, allocations: 0.7635 MB / 420.9 MB, free: 5.434 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.3958, allocations: 34.52 kB / 421 MB, free: 5.398 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.173e-05/0.3959, allocations: 27.44 kB / 421 MB, free: 5.371 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3959, allocations: 4 kB / 421 MB, free: 5.367 MB / 334.1 MB Notification: Performance of Templates: time 0.008627/0.4046, allocations: 3.044 MB / 424 MB, free: 2.34 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches