Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 179.5 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008964/0.0008965, allocations: 95.36 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002958/0.0002958, allocations: 11.94 kB / 351.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.2995, allocations: 50.4 MB / 401.5 MB, free: 32.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1125/0.4121, allocations: 76.52 MB / 478 MB, free: 3.996 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.4123, allocations: 79.95 kB / 478.1 MB, free: 3.918 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002867/0.4152, allocations: 1.098 MB / 479.2 MB, free: 2.824 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.027e-06/0.4152, allocations: 0 / 479.2 MB, free: 2.824 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.565e-05/0.4153, allocations: 11.94 kB / 479.2 MB, free: 2.812 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004021/0.4157, allocations: 345.1 kB / 479.5 MB, free: 2.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.4157, allocations: 12.03 kB / 479.5 MB, free: 2.418 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/0.4158, allocations: 15.8 kB / 479.6 MB, free: 2.402 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.416, allocations: 189.1 kB / 479.7 MB, free: 2.184 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.416, allocations: 4 kB / 479.7 MB, free: 2.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.416, allocations: 4 kB / 479.8 MB, free: 2.176 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/0.4163, allocations: 112.1 kB / 479.9 MB, free: 2.051 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.4163, allocations: 0 / 479.9 MB, free: 2.051 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.4164, allocations: 0 / 479.9 MB, free: 2.051 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.4164, allocations: 0 / 479.9 MB, free: 2.051 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.305e-05/0.4164, allocations: 27.88 kB / 479.9 MB, free: 2.023 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.4169, allocations: 261.8 kB / 480.1 MB, free: 1.715 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.417, allocations: 138.2 kB / 480.3 MB, free: 1.543 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.4171, allocations: 0 / 480.3 MB, free: 1.543 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.4171, allocations: 34.56 kB / 480.3 MB, free: 1.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.4171, allocations: 0 / 480.3 MB, free: 1.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002286/0.4173, allocations: 85.61 kB / 480.4 MB, free: 1.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/0.4174, allocations: 81.11 kB / 480.5 MB, free: 1.312 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.4175, allocations: 121 kB / 480.6 MB, free: 1.188 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.4176, allocations: 29.83 kB / 480.6 MB, free: 1.152 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.398e-05/0.4176, allocations: 84.14 kB / 480.7 MB, free: 1.066 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.187e-06/0.4176, allocations: 0 / 480.7 MB, free: 1.066 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.4176, allocations: 0 / 480.7 MB, free: 1.066 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.4178, allocations: 318.8 kB / 481 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.362e-05/0.4178, allocations: 7.984 kB / 481 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.957e-05/0.4179, allocations: 35.38 kB / 481.1 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.287e-05/0.4179, allocations: 11.98 kB / 481.1 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.4179, allocations: 0 / 481.1 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001052/0.418, allocations: 73.47 kB / 481.1 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.4181, allocations: 4 kB / 481.1 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.4181, allocations: 8.109 kB / 481.2 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.4181, allocations: 4 kB / 481.2 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.085e-05/0.4181, allocations: 0 / 481.2 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.4181, allocations: 7.891 kB / 481.2 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.053e-05/0.4182, allocations: 4 kB / 481.2 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.4182, allocations: 0 / 481.2 MB, free: 0.5742 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.888e-05/0.4183, allocations: 123.4 kB / 481.3 MB, free: 456 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.77e-05/0.4183, allocations: 45.69 kB / 481.3 MB, free: 404 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.825e-05/0.4184, allocations: 11.84 kB / 481.3 MB, free: 388 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.4184, allocations: 8 kB / 481.4 MB, free: 380 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4184, allocations: 0 / 481.4 MB, free: 380 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.4184, allocations: 3.953 kB / 481.4 MB, free: 376 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.4186, allocations: 161.7 kB / 481.5 MB, free: 164 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.4186, allocations: 0 / 481.5 MB, free: 164 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.307e-06/0.4186, allocations: 4 kB / 481.5 MB, free: 160 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.4186, allocations: 3.938 kB / 481.5 MB, free: 156 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.4186, allocations: 0 / 481.5 MB, free: 156 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4187, allocations: 0 / 481.5 MB, free: 156 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4187, allocations: 0 / 481.5 MB, free: 156 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.4189, allocations: 186.1 kB / 481.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.305e-05/0.4189, allocations: 93 kB / 481.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.419, allocations: 4 kB / 481.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.365e-05/0.419, allocations: 4 kB / 481.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/0.419, allocations: 3.781 kB / 481.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.4191, allocations: 4 kB / 481.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.824e-05/0.4191, allocations: 107.2 kB / 481.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4191, allocations: 0 / 481.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002033/0.4193, allocations: 4 kB / 481.9 MB, free: 15.71 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.00014/0.4195, allocations: 99.19 kB / 482 MB, free: 15.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001132/0.4196, allocations: 24.17 kB / 482 MB, free: 15.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4196, allocations: 4.062 kB / 482 MB, free: 15.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.616e-05/0.4196, allocations: 7.938 kB / 482.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.4199, allocations: 22.59 kB / 482.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003107/0.4202, allocations: 168.6 kB / 482.2 MB, free: 15.35 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.4206, allocations: 0.7005 MB / 482.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.243e-05/0.4206, allocations: 0.5156 kB / 482.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.599e-05/0.4206, allocations: 11.44 kB / 483 MB, free: 14.61 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4206, allocations: 0 / 483 MB, free: 14.61 MB / 362.7 MB Notification: Performance of Templates: time 0.002545/0.4232, allocations: 425.8 kB / 483.4 MB, free: 14.2 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches