Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 112.1 kB / 17.29 MB, free: 6.219 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.001265/0.001265, allocations: 197.3 kB / 18.21 MB, free: 5.289 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.466/1.466, allocations: 222.9 MB / 241.9 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 43.59 kB / 300.8 MB, free: 6.219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1104, allocations: 49.45 MB / 350.2 MB, free: 4.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.004014/0.1145, allocations: 1.554 MB / 351.8 MB, free: 3.195 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000475/0.115, allocations: 135.5 kB / 351.9 MB, free: 3.062 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.1152, allocations: 4 kB / 351.9 MB, free: 3.059 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.009e-05/0.1153, allocations: 3.938 kB / 351.9 MB, free: 3.055 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001608/0.1155, allocations: 4 kB / 351.9 MB, free: 3.051 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003595/0.1158, allocations: 39.91 kB / 352 MB, free: 3.012 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.1159, allocations: 27.92 kB / 352 MB, free: 2.984 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.1161, allocations: 7.984 kB / 352 MB, free: 2.977 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.157e-05/0.1161, allocations: 15.92 kB / 352 MB, free: 2.961 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.272e-05/0.1162, allocations: 15.88 kB / 352 MB, free: 2.945 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.1162, allocations: 4 kB / 352 MB, free: 2.941 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.416e-05/0.1163, allocations: 0 / 352 MB, free: 2.941 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.052e-05/0.1163, allocations: 11.98 kB / 352.1 MB, free: 2.93 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.399e-05/0.1164, allocations: 19.81 kB / 352.1 MB, free: 2.91 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.1165, allocations: 39.88 kB / 352.1 MB, free: 2.871 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.1165, allocations: 0 / 352.1 MB, free: 2.871 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1165, allocations: 0 / 352.1 MB, free: 2.871 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.216e-06/0.1166, allocations: 0 / 352.1 MB, free: 2.871 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.0005804/0.1171, allocations: 367.4 kB / 352.5 MB, free: 2.461 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.1172, allocations: 8.031 kB / 352.5 MB, free: 2.453 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.339e-05/0.1173, allocations: 8.844 kB / 352.5 MB, free: 2.445 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.1175, allocations: 184.2 kB / 352.7 MB, free: 2.227 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.1175, allocations: 384 / 352.7 MB, free: 2.227 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.1176, allocations: 8.375 kB / 352.7 MB, free: 2.219 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.1179, allocations: 85.61 kB / 352.8 MB, free: 2.117 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.1179, allocations: 192 / 352.8 MB, free: 2.117 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.1179, allocations: 7.938 kB / 352.8 MB, free: 2.109 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.1179, allocations: 4 kB / 352.8 MB, free: 2.105 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.331e-05/0.118, allocations: 19.92 kB / 352.8 MB, free: 2.086 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004097/0.1184, allocations: 261.8 kB / 353 MB, free: 1.777 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.416e-05/0.1185, allocations: 41.14 kB / 353.1 MB, free: 1.719 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.969e-05/0.1186, allocations: 25.77 kB / 353.1 MB, free: 1.688 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.1186, allocations: 7.938 kB / 353.1 MB, free: 1.68 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.1186, allocations: 30.56 kB / 353.2 MB, free: 1.641 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1187, allocations: 0 / 353.2 MB, free: 1.641 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.000255/0.1189, allocations: 61.53 kB / 353.2 MB, free: 1.574 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/0.119, allocations: 81.34 kB / 353.3 MB, free: 1.477 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.1191, allocations: 138.1 kB / 353.4 MB, free: 1.328 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.1192, allocations: 25.7 kB / 353.5 MB, free: 1.297 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.018e-05/0.1192, allocations: 84.14 kB / 353.5 MB, free: 1.211 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.1192, allocations: 7.906 kB / 353.5 MB, free: 1.203 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.203e-05/0.1193, allocations: 17.72 kB / 353.6 MB, free: 1.18 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1194, allocations: 314.8 kB / 353.9 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.733e-05/0.1195, allocations: 4 kB / 353.9 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.535e-05/0.1195, allocations: 25.7 kB / 353.9 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.156e-05/0.1196, allocations: 29.64 kB / 353.9 MB, free: 0.793 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1196, allocations: 0 / 353.9 MB, free: 0.793 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001131/0.1197, allocations: 53.62 kB / 354 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.1198, allocations: 4.125 kB / 354 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.1198, allocations: 4 kB / 354 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1198, allocations: 3.938 kB / 354 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.318e-05/0.1199, allocations: 4 kB / 354 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.1199, allocations: 4 kB / 354 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.921e-05/0.1199, allocations: 3.984 kB / 354 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.301e-06/0.1199, allocations: 0 / 354 MB, free: 0.7109 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 (step.y,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.0001014/0.12, allocations: 121.8 kB / 354.1 MB, free: 0.582 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.19e-05/0.1201, allocations: 41.53 kB / 354.2 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.966e-05/0.1202, allocations: 19.89 kB / 354.2 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1202, allocations: 0 / 354.2 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1202, allocations: 0 / 354.2 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.1202, allocations: 4 kB / 354.2 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.1204, allocations: 165.6 kB / 354.3 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1204, allocations: 3.938 kB / 354.3 MB, free: 300 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.976e-05/0.1204, allocations: 8 kB / 354.4 MB, free: 292 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.1205, allocations: 3.938 kB / 354.4 MB, free: 288 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.1205, allocations: 0 / 354.4 MB, free: 288 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1205, allocations: 4 kB / 354.4 MB, free: 284 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1205, allocations: 4 kB / 354.4 MB, free: 280 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.1207, allocations: 156.2 kB / 354.5 MB, free: 104 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.554e-05/0.1208, allocations: 89.09 kB / 354.6 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.1208, allocations: 3.984 kB / 354.6 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.139e-05/0.1209, allocations: 4 kB / 354.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.1209, allocations: 4.031 kB / 354.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.1209, allocations: 0 / 354.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.387e-05/0.121, allocations: 110.4 kB / 354.7 MB, free: 15.88 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.121, allocations: 0 / 354.7 MB, free: 15.88 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002309/0.1212, allocations: 4 kB / 354.7 MB, free: 15.87 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 (step.y,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.0001322/0.1214, allocations: 107.1 kB / 354.8 MB, free: 15.76 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001339/0.1215, allocations: 19.98 kB / 354.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1215, allocations: 4.125 kB / 354.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.41e-05/0.1216, allocations: 8 kB / 354.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.122, allocations: 30.14 kB / 354.9 MB, free: 15.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003733/0.1224, allocations: 172 kB / 355.1 MB, free: 15.49 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.1227, allocations: 0.6925 MB / 355.8 MB, free: 14.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.024e-05/0.1227, allocations: 7.438 kB / 355.8 MB, free: 14.77 MB / 302.1 MB Notification: Performance of SimCode: time 9.32e-07/0.1227, allocations: 4 kB / 355.8 MB, free: 14.76 MB / 302.1 MB Notification: Performance of Templates: time 0.002668/0.1254, allocations: 0.6226 MB / 356.4 MB, free: 14.15 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches