Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 115.6 kB / 16.63 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002145/0.002145, allocations: 185.8 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 222.9 MB / 241.2 MB, free: 15.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009422/0.0009426, allocations: 46.95 kB / 300.1 MB, free: 6.199 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1076, allocations: 49.45 MB / 349.6 MB, free: 4.742 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003245/0.1109, allocations: 1.538 MB / 351.1 MB, free: 3.188 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000414/0.1113, allocations: 147.5 kB / 351.3 MB, free: 3.043 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.301e-05/0.1115, allocations: 0 / 351.3 MB, free: 3.043 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.616e-05/0.1116, allocations: 0 / 351.3 MB, free: 3.043 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.1117, allocations: 3.938 kB / 351.3 MB, free: 3.039 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.1119, allocations: 35.91 kB / 351.3 MB, free: 3.004 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.887e-05/0.112, allocations: 27.92 kB / 351.3 MB, free: 2.977 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.844e-05/0.1121, allocations: 11.98 kB / 351.3 MB, free: 2.965 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.693e-05/0.1122, allocations: 7.938 kB / 351.3 MB, free: 2.957 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.23e-05/0.1122, allocations: 15.94 kB / 351.4 MB, free: 2.941 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.1122, allocations: 4 kB / 351.4 MB, free: 2.938 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.01e-05/0.1122, allocations: 0 / 351.4 MB, free: 2.938 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.13e-05/0.1123, allocations: 19.91 kB / 351.4 MB, free: 2.918 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.09e-05/0.1123, allocations: 15.88 kB / 351.4 MB, free: 2.902 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.774e-05/0.1124, allocations: 35.83 kB / 351.4 MB, free: 2.867 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1124, allocations: 0 / 351.4 MB, free: 2.867 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1125, allocations: 0 / 351.4 MB, free: 2.867 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1125, allocations: 4 kB / 351.4 MB, free: 2.863 MB / 286.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.0004046/0.1129, allocations: 359.4 kB / 351.8 MB, free: 2.461 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.1129, allocations: 16.03 kB / 351.8 MB, free: 2.445 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/0.113, allocations: 12.84 kB / 351.8 MB, free: 2.434 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.1131, allocations: 184.2 kB / 352 MB, free: 2.215 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.1132, allocations: 384 / 352 MB, free: 2.215 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.1132, allocations: 8.312 kB / 352 MB, free: 2.207 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.1134, allocations: 81.67 kB / 352.1 MB, free: 2.109 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1134, allocations: 4.188 kB / 352.1 MB, free: 2.105 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.1134, allocations: 7.938 kB / 352.1 MB, free: 2.098 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1134, allocations: 0 / 352.1 MB, free: 2.098 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.414e-05/0.1135, allocations: 15.92 kB / 352.1 MB, free: 2.082 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003125/0.1138, allocations: 249.8 kB / 352.4 MB, free: 1.785 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.114, allocations: 53.09 kB / 352.4 MB, free: 1.715 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.115e-05/0.114, allocations: 17.77 kB / 352.4 MB, free: 1.691 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.114, allocations: 0 / 352.4 MB, free: 1.691 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.1141, allocations: 34.56 kB / 352.5 MB, free: 1.648 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 2.625e-06/0.1141, allocations: 3.984 kB / 352.5 MB, free: 1.645 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002038/0.1143, allocations: 61.62 kB / 352.5 MB, free: 1.578 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/0.1144, allocations: 81.11 kB / 352.6 MB, free: 1.48 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.1145, allocations: 133.1 kB / 352.7 MB, free: 1.344 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.1145, allocations: 25.7 kB / 352.8 MB, free: 1.312 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.717e-05/0.1146, allocations: 84.08 kB / 352.8 MB, free: 1.227 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.342e-05/0.1146, allocations: 3.984 kB / 352.8 MB, free: 1.223 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.1146, allocations: 25.56 kB / 352.9 MB, free: 1.191 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1148, allocations: 319 kB / 353.2 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.958e-05/0.1148, allocations: 8 kB / 353.2 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.102e-05/0.1149, allocations: 17.7 kB / 353.2 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.824e-05/0.1149, allocations: 17.72 kB / 353.2 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1149, allocations: 0 / 353.2 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.344e-05/0.115, allocations: 57.62 kB / 353.3 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.115, allocations: 4 kB / 353.3 MB, free: 0.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1151, allocations: 0 / 353.3 MB, free: 0.75 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1151, allocations: 3.938 kB / 353.3 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.89e-05/0.1151, allocations: 0 / 353.3 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1151, allocations: 4 kB / 353.3 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.765e-05/0.1151, allocations: 7.984 kB / 353.3 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.1152, allocations: 0 / 353.3 MB, free: 0.7344 MB / 286.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.8e-05/0.1153, allocations: 121.8 kB / 353.4 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.624e-05/0.1153, allocations: 41.55 kB / 353.5 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.887e-05/0.1154, allocations: 11.52 kB / 353.5 MB, free: 0.543 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1154, allocations: 0 / 353.5 MB, free: 0.543 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1154, allocations: 0 / 353.5 MB, free: 0.543 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1154, allocations: 0 / 353.5 MB, free: 0.543 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.1156, allocations: 165.6 kB / 353.6 MB, free: 340 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1156, allocations: 4 kB / 353.6 MB, free: 336 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.253e-06/0.1156, allocations: 3.984 kB / 353.6 MB, free: 332 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1156, allocations: 0 / 353.6 MB, free: 332 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.1156, allocations: 4 kB / 353.6 MB, free: 328 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1156, allocations: 4.031 kB / 353.6 MB, free: 324 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.1156, allocations: 4 kB / 353.7 MB, free: 320 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.1158, allocations: 152.2 kB / 353.8 MB, free: 148 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.203e-05/0.1159, allocations: 89.09 kB / 353.9 MB, free: 40 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.1159, allocations: 4 kB / 353.9 MB, free: 36 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.294e-05/0.1159, allocations: 4.031 kB / 353.9 MB, free: 32 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.116, allocations: 0 / 353.9 MB, free: 32 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.116, allocations: 0 / 353.9 MB, free: 32 kB / 286.1 MB Notification: Performance of sorting global known variables: time 8.167e-05/0.1161, allocations: 111.2 kB / 354 MB, free: 15.92 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1161, allocations: 0 / 354 MB, free: 15.92 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002107/0.1163, allocations: 4 kB / 354 MB, free: 15.92 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 0.0001138/0.1164, allocations: 99.19 kB / 354.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001078/0.1165, allocations: 24 kB / 354.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1165, allocations: 0 / 354.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.392e-05/0.1166, allocations: 7.984 kB / 354.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.1169, allocations: 18.53 kB / 354.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003043/0.1172, allocations: 162.5 kB / 354.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.1175, allocations: 0.6885 MB / 355 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.972e-05/0.1175, allocations: 3.984 kB / 355 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.945e-05/0.1175, allocations: 7.438 kB / 355 MB, free: 14.85 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1175, allocations: 3.938 kB / 355 MB, free: 14.84 MB / 302.1 MB Notification: Performance of Templates: time 0.002718/0.1203, allocations: 415.2 kB / 355.4 MB, free: 14.44 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches