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.001274/0.001273, allocations: 117.2 kB / 17.78 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001498/0.001498, allocations: 200.6 kB / 18.72 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.558/1.558, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 59.91 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4941/0.4955, allocations: 50.54 MB / 409.2 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.004259/0.4998, allocations: 1.905 MB / 411.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002401/0.5022, allocations: 1.216 MB / 412.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000191/0.5024, allocations: 7.938 kB / 412.4 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000774/0.5032, allocations: 155.5 kB / 412.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004369/0.5037, allocations: 155.4 kB / 412.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005678/0.5042, allocations: 171 kB / 412.8 MB, free: 14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002861/0.5045, allocations: 187.5 kB / 413 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.5047, allocations: 37.48 kB / 413 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.5048, allocations: 79.62 kB / 413.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.505, allocations: 67.7 kB / 413.2 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.505, allocations: 12 kB / 413.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.5052, allocations: 55.95 kB / 413.3 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.333e-05/0.5053, allocations: 43.84 kB / 413.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.5054, allocations: 83.41 kB / 413.4 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003812/0.5058, allocations: 203.1 kB / 413.6 MB, free: 13.24 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.5058, allocations: 0 / 413.6 MB, free: 13.24 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5058, allocations: 4 kB / 413.6 MB, free: 13.24 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.5058, 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.0009466/0.5068, allocations: 0.5155 MB / 414.1 MB, free: 12.67 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.5068, allocations: 15.97 kB / 414.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.866e-05/0.5069, allocations: 20.8 kB / 414.1 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004482/0.5074, allocations: 275 kB / 414.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.5074, allocations: 8.375 kB / 414.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.5074, allocations: 12.12 kB / 414.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000445/0.5079, allocations: 134.7 kB / 414.5 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.5079, allocations: 0 / 414.5 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.5079, allocations: 7.984 kB / 414.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.508, allocations: 11.94 kB / 414.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.5081, allocations: 31.92 kB / 414.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006095/0.5087, allocations: 366.3 kB / 415 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.5089, allocations: 107.9 kB / 415.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.349e-05/0.509, allocations: 46.56 kB / 415.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.5091, allocations: 3.984 kB / 415.1 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001929/0.5093, allocations: 87.31 kB / 415.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.5093, allocations: 0 / 415.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004001/0.5097, allocations: 145.5 kB / 415.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.5098, allocations: 128.5 kB / 415.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/0.5101, allocations: 269.2 kB / 415.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.5102, allocations: 33.7 kB / 415.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.867e-05/0.5103, allocations: 120.2 kB / 415.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.5103, allocations: 15.89 kB / 415.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.862e-05/0.5104, allocations: 37.61 kB / 415.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.5105, allocations: 334.8 kB / 416.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.407e-05/0.5106, allocations: 23.98 kB / 416.3 MB, free: 10.24 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.539e-05/0.5107, allocations: 69.94 kB / 416.3 MB, free: 10.15 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.5108, allocations: 76.22 kB / 416.4 MB, free: 10.06 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.5108, allocations: 0 / 416.4 MB, free: 10.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002139/0.5111, allocations: 113.6 kB / 416.5 MB, free: 9.941 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.5111, allocations: 11.92 kB / 416.5 MB, free: 9.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.5111, allocations: 4 kB / 416.5 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.5111, allocations: 0 / 416.5 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-05/0.5112, allocations: 12 kB / 416.6 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.5112, allocations: 0 / 416.6 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.939e-05/0.5113, allocations: 19.81 kB / 416.6 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.5113, allocations: 4 kB / 416.6 MB, free: 9.891 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.0001352/0.5115, allocations: 153.8 kB / 416.7 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.829e-05/0.5115, allocations: 57.92 kB / 416.8 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.19e-05/0.5116, allocations: 25.7 kB / 416.8 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.5116, allocations: 0 / 416.8 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.5116, allocations: 8 kB / 416.8 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.5117, allocations: 3.938 kB / 416.8 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.5119, allocations: 225.5 kB / 417 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.5119, allocations: 4 kB / 417.1 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.791e-05/0.5119, allocations: 16 kB / 417.1 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.5119, allocations: 0 / 417.1 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.5119, allocations: 4 kB / 417.1 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-06/0.5119, allocations: 0 / 417.1 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5119, allocations: 0 / 417.1 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.5122, allocations: 162.5 kB / 417.2 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.674e-05/0.5123, allocations: 109 kB / 417.3 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.5124, allocations: 7.922 kB / 417.3 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.6e-05/0.5124, allocations: 8 kB / 417.4 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.5125, allocations: 4 kB / 417.4 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.5125, allocations: 11.92 kB / 417.4 MB, free: 8.996 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002009/0.5127, allocations: 196.5 kB / 417.6 MB, free: 8.805 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5127, allocations: 0 / 417.6 MB, free: 8.805 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.513, allocations: 35.92 kB / 417.6 MB, free: 8.77 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.001107/0.5141, allocations: 412 kB / 418 MB, free: 8.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000252/0.5144, allocations: 75.84 kB / 418.1 MB, free: 8.426 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5144, allocations: 0 / 418.1 MB, free: 8.426 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.565e-05/0.5144, allocations: 23.98 kB / 418.1 MB, free: 8.402 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.5149, allocations: 69.89 kB / 418.2 MB, free: 8.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006496/0.5156, allocations: 320.9 kB / 418.5 MB, free: 7.992 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.516, allocations: 0.728 MB / 419.2 MB, free: 7.238 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.853e-05/0.5161, allocations: 21.53 kB / 419.2 MB, free: 7.219 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.087e-05/0.5161, allocations: 31.36 kB / 419.3 MB, free: 7.188 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5161, allocations: 3.938 kB / 419.3 MB, free: 7.184 MB / 334.1 MB Notification: Performance of Templates: time 0.007179/0.5233, allocations: 2.437 MB / 421.7 MB, free: 4.766 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