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.001455/0.001456, allocations: 92.53 kB / 16.65 MB, free: 6.535 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.001696/0.001696, allocations: 173.6 kB / 17.56 MB, free: 6.18 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.539/1.539, allocations: 223.3 MB / 241.6 MB, free: 196 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002748/0.0002749, allocations: 11.94 kB / 301.4 MB, free: 6.133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1151, allocations: 50.41 MB / 351.8 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002143/0.1173, allocations: 1.201 MB / 353 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004631/0.1178, allocations: 136.3 kB / 353.2 MB, free: 2.363 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.891e-05/0.1179, allocations: 0 / 353.2 MB, free: 2.363 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.341e-05/0.118, allocations: 3.938 kB / 353.2 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001563/0.1182, allocations: 3.984 kB / 353.2 MB, free: 2.355 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.1185, allocations: 35.91 kB / 353.2 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.1186, allocations: 23.94 kB / 353.2 MB, free: 2.297 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.1188, allocations: 15.98 kB / 353.2 MB, free: 2.281 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.572e-05/0.1188, allocations: 7.938 kB / 353.3 MB, free: 2.273 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.41e-05/0.1189, allocations: 15.92 kB / 353.3 MB, free: 2.258 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.1189, allocations: 0 / 353.3 MB, free: 2.258 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.044e-05/0.1189, allocations: 0 / 353.3 MB, free: 2.258 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.119, allocations: 15.92 kB / 353.3 MB, free: 2.242 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.827e-05/0.119, allocations: 41.58 kB / 353.3 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.1191, allocations: 31.83 kB / 353.4 MB, free: 2.164 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1191, allocations: 0 / 353.4 MB, free: 2.164 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1191, allocations: 0 / 353.4 MB, free: 2.164 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1192, allocations: 4 kB / 353.4 MB, free: 2.16 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.000525/0.1197, allocations: 355.5 kB / 353.7 MB, free: 1.762 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.1198, allocations: 12.03 kB / 353.7 MB, free: 1.75 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.711e-05/0.1198, allocations: 12.78 kB / 353.7 MB, free: 1.738 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.12, allocations: 180.2 kB / 353.9 MB, free: 1.523 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.1201, allocations: 4.375 kB / 353.9 MB, free: 1.52 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.1201, allocations: 4.359 kB / 353.9 MB, free: 1.516 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.1203, allocations: 93.61 kB / 354 MB, free: 1.406 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1204, allocations: 192 / 354 MB, free: 1.406 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.1204, allocations: 3.938 kB / 354 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-06/0.1204, allocations: 0 / 354 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.41e-05/0.1205, allocations: 15.98 kB / 354 MB, free: 1.387 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.1208, allocations: 261.7 kB / 354.3 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.178e-05/0.1209, allocations: 49.14 kB / 354.3 MB, free: 1.012 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.175e-05/0.121, allocations: 13.78 kB / 354.3 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.121, allocations: 7.938 kB / 354.4 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.1211, allocations: 38.56 kB / 354.4 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1211, allocations: 0 / 354.4 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002359/0.1213, allocations: 53.62 kB / 354.4 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.767e-05/0.1214, allocations: 81.11 kB / 354.5 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.1215, allocations: 137 kB / 354.7 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.1216, allocations: 29.69 kB / 354.7 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.6e-05/0.1216, allocations: 80.14 kB / 354.8 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.1217, allocations: 11.91 kB / 354.8 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.1217, allocations: 13.66 kB / 354.8 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1219, allocations: 310.8 kB / 355.1 MB, free: 184 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.476e-05/0.1219, allocations: 7.984 kB / 355.1 MB, free: 176 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.487e-05/0.1219, allocations: 21.72 kB / 355.1 MB, free: 148 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.362e-05/0.122, allocations: 25.66 kB / 355.1 MB, free: 116 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.122, allocations: 0 / 355.1 MB, free: 116 kB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001105/0.1221, allocations: 49.62 kB / 355.2 MB, free: 60 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.1222, allocations: 8 kB / 355.2 MB, free: 52 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.453e-06/0.1222, allocations: 8.125 kB / 355.2 MB, free: 44 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.1222, allocations: 0 / 355.2 MB, free: 44 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.308e-05/0.1222, allocations: 7.922 kB / 355.2 MB, free: 36 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.1223, allocations: 7.938 kB / 355.2 MB, free: 28 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.701e-05/0.1223, allocations: 0 / 355.2 MB, free: 28 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.1223, allocations: 0 / 355.2 MB, free: 28 kB / 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 0.0001212/0.1224, allocations: 117.8 kB / 355.3 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-05/0.1225, allocations: 45.59 kB / 355.4 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.027e-05/0.1226, allocations: 11.56 kB / 355.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1226, allocations: 0 / 355.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1226, allocations: 0 / 355.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1226, allocations: 0 / 355.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.1228, allocations: 169.6 kB / 355.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1228, allocations: 4 kB / 355.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.714e-06/0.1228, allocations: 0 / 355.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.1228, allocations: 0 / 355.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.1228, allocations: 3.938 kB / 355.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1229, allocations: 0 / 355.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1229, allocations: 4 kB / 355.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.123, allocations: 156.2 kB / 355.7 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.54e-05/0.1231, allocations: 89.09 kB / 355.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.1232, allocations: 0 / 355.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.443e-05/0.1232, allocations: 0 / 355.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.1233, allocations: 4 kB / 355.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.1233, allocations: 4.031 kB / 355.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.095e-05/0.1234, allocations: 111.2 kB / 355.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1234, allocations: 0 / 355.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002329/0.1236, allocations: 0 / 355.9 MB, free: 15.21 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.0001282/0.1238, allocations: 111.1 kB / 356 MB, free: 15.1 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001216/0.1239, allocations: 19.98 kB / 356.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1239, allocations: 128 / 356.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.839e-05/0.1239, allocations: 8 kB / 356.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.1243, allocations: 19.91 kB / 356.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003725/0.1247, allocations: 161.3 kB / 356.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.125, allocations: 0.6889 MB / 356.9 MB, free: 14.15 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.719e-05/0.1251, allocations: 0 / 356.9 MB, free: 14.15 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.703e-05/0.1251, allocations: 7.438 kB / 356.9 MB, free: 14.14 MB / 302.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1251, allocations: 0 / 356.9 MB, free: 14.14 MB / 302.1 MB Notification: Performance of Templates: time 0.002765/0.1279, allocations: 409.8 kB / 357.3 MB, free: 13.75 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