Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001438/0.001438, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001564/0.001564, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 246.9 MB, free: 10.71 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 55.75 kB / 306.9 MB, free: 1.051 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09576/0.09718, allocations: 50.53 MB / 357.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.00293/0.1002, allocations: 1.558 MB / 359 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003559/0.1005, allocations: 139.6 kB / 359.1 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.978e-05/0.1006, allocations: 3.938 kB / 359.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.322e-05/0.1007, allocations: 0 / 359.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.1009, allocations: 4 kB / 359.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.1011, allocations: 35.41 kB / 359.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.779e-05/0.1012, allocations: 31.86 kB / 359.2 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.94e-05/0.1013, allocations: 12 kB / 359.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.096e-05/0.1013, allocations: 15.91 kB / 359.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.567e-05/0.1014, allocations: 11.94 kB / 359.2 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.1014, allocations: 0 / 359.2 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.688e-06/0.1014, allocations: 4 kB / 359.2 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.515e-05/0.1014, allocations: 7.984 kB / 359.2 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.375e-05/0.1015, allocations: 19.81 kB / 359.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.329e-05/0.1015, allocations: 23.95 kB / 359.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1016, allocations: 0 / 359.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1016, allocations: 0 / 359.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1016, allocations: 4 kB / 359.3 MB, free: 12.64 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003827/0.102, allocations: 363.5 kB / 359.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.102, allocations: 8.031 kB / 359.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.186e-05/0.102, allocations: 8.844 kB / 359.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.1022, allocations: 188.2 kB / 359.9 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.1022, allocations: 384 / 359.9 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.1023, allocations: 4.375 kB / 359.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.1025, allocations: 97.59 kB / 360 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.1025, allocations: 192 / 360 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.1025, allocations: 3.938 kB / 360 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1025, allocations: 3.938 kB / 360 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.43e-05/0.1026, allocations: 8 kB / 360 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002941/0.1029, allocations: 265.8 kB / 360.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.64e-05/0.1029, allocations: 41.16 kB / 360.3 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.666e-05/0.103, allocations: 17.72 kB / 360.3 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.103, allocations: 0 / 360.3 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.103, allocations: 34.56 kB / 360.3 MB, free: 11.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.1031, allocations: 0 / 360.3 MB, free: 11.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002052/0.1033, allocations: 65.52 kB / 360.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.1033, allocations: 81.11 kB / 360.5 MB, free: 11.26 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.1034, allocations: 128.8 kB / 360.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.1035, allocations: 25.7 kB / 360.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.628e-05/0.1035, allocations: 88.14 kB / 360.7 MB, free: 11 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.804e-06/0.1035, allocations: 4.25 kB / 360.7 MB, free: 11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.1036, allocations: 21.62 kB / 360.7 MB, free: 10.97 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.1037, allocations: 318.8 kB / 361 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.17e-05/0.1037, allocations: 4 kB / 361 MB, free: 10.65 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.821e-05/0.1038, allocations: 17.72 kB / 361.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.482e-05/0.1038, allocations: 29.7 kB / 361.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1038, allocations: 4 kB / 361.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.809e-05/0.1039, allocations: 49.62 kB / 361.1 MB, free: 10.53 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.1039, allocations: 7.938 kB / 361.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.104, allocations: 0 / 361.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.104, allocations: 0 / 361.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.345e-05/0.104, allocations: 4 kB / 361.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.104, allocations: 0 / 361.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.458e-05/0.104, allocations: 0 / 361.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.104, allocations: 8.062 kB / 361.2 MB, free: 10.51 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.033e-05/0.1041, allocations: 125.7 kB / 361.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-05/0.1042, allocations: 33.61 kB / 361.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/0.1042, allocations: 15.48 kB / 361.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1042, allocations: 0 / 361.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1042, allocations: 0 / 361.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1042, allocations: 4 kB / 361.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.1044, allocations: 165.6 kB / 361.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1044, allocations: 0 / 361.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.154e-06/0.1044, allocations: 11.91 kB / 361.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1044, allocations: 0 / 361.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.1045, allocations: 0 / 361.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1045, allocations: 4 kB / 361.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1045, allocations: 0 / 361.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.1046, allocations: 152.2 kB / 361.7 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.655e-05/0.1047, allocations: 93.12 kB / 361.7 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.1047, allocations: 4 kB / 361.8 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.566e-05/0.1047, allocations: 3.984 kB / 361.8 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-05/0.1048, allocations: 0 / 361.8 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.1048, allocations: 4 kB / 361.8 MB, free: 9.801 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.111e-05/0.1048, allocations: 99.2 kB / 361.9 MB, free: 9.703 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1049, allocations: 0 / 361.9 MB, free: 9.703 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000215/0.1051, allocations: 8 kB / 361.9 MB, free: 9.695 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 9.659e-05/0.1052, allocations: 103.2 kB / 362 MB, free: 9.586 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001014/0.1053, allocations: 15.98 kB / 362 MB, free: 9.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1053, allocations: 0 / 362 MB, free: 9.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.696e-05/0.1053, allocations: 8 kB / 362 MB, free: 9.562 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.1057, allocations: 19.89 kB / 362 MB, free: 9.543 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002995/0.106, allocations: 190 kB / 362.2 MB, free: 9.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.1062, allocations: 0.6848 MB / 362.9 MB, free: 8.609 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.813e-05/0.1063, allocations: 11.38 kB / 362.9 MB, free: 8.598 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1063, allocations: 0 / 362.9 MB, free: 8.598 MB / 302.1 MB Notification: Performance of Templates: time 0.001834/0.1081, allocations: 0.617 MB / 363.5 MB, free: 7.984 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches