Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001628/0.001628, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002019/0.00202, allocations: 212.6 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 64.47 kB / 306.9 MB, free: 0.6523 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1256, allocations: 50.53 MB / 357.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003264/0.129, allocations: 1.497 MB / 359 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003922/0.1294, allocations: 139.6 kB / 359.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.905e-05/0.1295, allocations: 8 kB / 359.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.093e-05/0.1296, allocations: 7.922 kB / 359.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.1297, allocations: 11.92 kB / 359.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.13, allocations: 31.92 kB / 359.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.016e-05/0.1301, allocations: 31.91 kB / 359.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1302, allocations: 15.98 kB / 359.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.296e-05/0.1302, allocations: 11.94 kB / 359.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.643e-05/0.1303, allocations: 19.86 kB / 359.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.1303, allocations: 4 kB / 359.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.145e-05/0.1303, allocations: 4 kB / 359.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.536e-05/0.1304, allocations: 11.98 kB / 359.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.922e-05/0.1304, allocations: 19.81 kB / 359.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.1305, allocations: 43.81 kB / 359.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1306, allocations: 0 / 359.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1306, allocations: 0 / 359.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.1306, allocations: 0 / 359.3 MB, free: 12.26 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004844/0.1311, allocations: 371.5 kB / 359.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1311, allocations: 12.03 kB / 359.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.1312, allocations: 8.844 kB / 359.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.1314, allocations: 190.8 kB / 359.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.1314, allocations: 384 / 359.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.1314, allocations: 8.375 kB / 359.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/0.1317, allocations: 117.6 kB / 360 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.1317, allocations: 192 / 360 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.1317, allocations: 3.938 kB / 360 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.1317, allocations: 0 / 360 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.877e-05/0.1318, allocations: 19.92 kB / 360 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/0.1322, allocations: 261.7 kB / 360.3 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.1323, allocations: 146.2 kB / 360.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.195e-05/0.1324, allocations: 21.78 kB / 360.5 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.1324, allocations: 4 kB / 360.5 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1325, allocations: 34.56 kB / 360.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.1325, allocations: 0 / 360.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002166/0.1327, allocations: 73.8 kB / 360.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.1328, allocations: 81.11 kB / 360.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.1329, allocations: 133.7 kB / 360.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.1329, allocations: 25.7 kB / 360.8 MB, free: 10.53 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.942e-05/0.1329, allocations: 88.12 kB / 360.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.009e-05/0.133, allocations: 7.938 kB / 360.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.133, allocations: 13.72 kB / 360.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1331, allocations: 327 kB / 361.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.156e-05/0.1332, allocations: 4 kB / 361.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.013e-05/0.1332, allocations: 31.42 kB / 361.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.653e-05/0.1333, allocations: 47.36 kB / 361.3 MB, free: 9.977 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1333, allocations: 0 / 361.3 MB, free: 9.977 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001076/0.1334, allocations: 65.47 kB / 361.4 MB, free: 9.906 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.1334, allocations: 4 kB / 361.4 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1334, allocations: 0 / 361.4 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1335, allocations: 4 kB / 361.4 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.045e-05/0.1335, allocations: 0 / 361.4 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.1335, allocations: 8.109 kB / 361.4 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.354e-05/0.1335, allocations: 11.88 kB / 361.4 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.1335, allocations: 0 / 361.4 MB, free: 9.879 MB / 302.1 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 (step.y,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.358e-05/0.1336, allocations: 125.7 kB / 361.5 MB, free: 9.746 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.912e-05/0.1337, allocations: 57.53 kB / 361.6 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.78e-05/0.1337, allocations: 3.906 kB / 361.6 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1338, allocations: 4 kB / 361.6 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1338, allocations: 0 / 361.6 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1338, allocations: 0 / 361.6 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.134, allocations: 173.6 kB / 361.8 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.134, allocations: 0 / 361.8 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.042e-05/0.134, allocations: 4 kB / 361.8 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.134, allocations: 0 / 361.8 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.134, allocations: 3.984 kB / 361.8 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.134, allocations: 3.938 kB / 361.8 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.134, allocations: 0 / 361.8 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.1342, allocations: 164.2 kB / 361.9 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.271e-05/0.1342, allocations: 89.09 kB / 362 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.1343, allocations: 4 kB / 362 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.189e-05/0.1343, allocations: 3.938 kB / 362 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.1344, allocations: 3.984 kB / 362 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.1344, allocations: 4 kB / 362 MB, free: 9.137 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.63e-05/0.1344, allocations: 101.7 kB / 362.1 MB, free: 9.039 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1344, allocations: 0 / 362.1 MB, free: 9.039 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002193/0.1347, allocations: 4 kB / 362.1 MB, free: 9.035 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: 4 (step.y,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 (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.0001034/0.1348, allocations: 111.2 kB / 362.2 MB, free: 8.918 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001165/0.1349, allocations: 23.98 kB / 362.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1349, allocations: 0 / 362.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.694e-05/0.135, allocations: 7.938 kB / 362.3 MB, free: 8.887 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.1353, allocations: 27.95 kB / 362.3 MB, free: 8.859 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002988/0.1356, allocations: 154.5 kB / 362.5 MB, free: 8.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.1359, allocations: 0.6924 MB / 363.1 MB, free: 7.961 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.179e-05/0.1359, allocations: 4 kB / 363.2 MB, free: 7.957 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.137e-05/0.136, allocations: 7.438 kB / 363.2 MB, free: 7.949 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.136, allocations: 0 / 363.2 MB, free: 7.949 MB / 302.1 MB Notification: Performance of Templates: time 0.002716/0.1387, allocations: 0.4923 MB / 363.7 MB, free: 7.461 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches