Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001414/0.001413, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001677/0.001677, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 58.88 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1075, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.003192/0.1108, allocations: 1.498 MB / 360.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003977/0.1112, allocations: 133.2 kB / 360.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.671e-05/0.1113, allocations: 4 kB / 360.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.488e-05/0.1114, allocations: 7.938 kB / 360.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.1115, allocations: 3.938 kB / 360.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.1118, allocations: 43.33 kB / 360.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.386e-05/0.1119, allocations: 27.92 kB / 360.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.112, allocations: 7.984 kB / 360.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.584e-05/0.112, allocations: 15.88 kB / 360.6 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.055e-05/0.1121, allocations: 19.92 kB / 360.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.1121, allocations: 0 / 360.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.307e-05/0.1122, allocations: 4 kB / 360.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.228e-05/0.1122, allocations: 11.94 kB / 360.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.979e-05/0.1122, allocations: 19.86 kB / 360.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.712e-05/0.1123, allocations: 35.83 kB / 360.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.1124, allocations: 4 kB / 360.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1124, allocations: 0 / 360.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1124, allocations: 0 / 360.7 MB, free: 11.51 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004765/0.1129, allocations: 359.2 kB / 361.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.1129, allocations: 15.97 kB / 361.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.113, allocations: 8.844 kB / 361.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.1132, allocations: 188.2 kB / 361.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.1133, allocations: 4.375 kB / 361.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.1133, allocations: 384 / 361.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.1136, allocations: 97.55 kB / 361.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1136, allocations: 4.188 kB / 361.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.1136, allocations: 3.938 kB / 361.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.1136, allocations: 0 / 361.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.976e-05/0.1137, allocations: 19.92 kB / 361.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003421/0.114, allocations: 253.8 kB / 361.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.513e-05/0.1141, allocations: 57.08 kB / 361.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.411e-05/0.1142, allocations: 21.77 kB / 361.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.1142, allocations: 0 / 361.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.1143, allocations: 30.56 kB / 361.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.1143, allocations: 4 kB / 361.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002312/0.1145, allocations: 61.53 kB / 361.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/0.1146, allocations: 89.09 kB / 361.9 MB, free: 10.1 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.1147, allocations: 126.1 kB / 362.1 MB, free: 9.961 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.1147, allocations: 29.7 kB / 362.1 MB, free: 9.926 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.269e-05/0.1148, allocations: 84.14 kB / 362.2 MB, free: 9.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.1148, allocations: 8.094 kB / 362.2 MB, free: 9.832 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.1148, allocations: 21.72 kB / 362.2 MB, free: 9.805 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.115, allocations: 314.8 kB / 362.5 MB, free: 9.488 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.752e-05/0.115, allocations: 8 kB / 362.5 MB, free: 9.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.894e-05/0.1151, allocations: 21.7 kB / 362.5 MB, free: 9.453 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.657e-05/0.1151, allocations: 29.77 kB / 362.6 MB, free: 9.418 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1152, allocations: 0 / 362.6 MB, free: 9.418 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001085/0.1153, allocations: 53.56 kB / 362.6 MB, free: 9.359 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.1153, allocations: 4 kB / 362.6 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1153, allocations: 7.922 kB / 362.6 MB, free: 9.348 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.1153, allocations: 4 kB / 362.6 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.788e-05/0.1154, allocations: 4 kB / 362.6 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1154, allocations: 0 / 362.6 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.14e-05/0.1155, allocations: 12.05 kB / 362.6 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.1155, allocations: 4 kB / 362.6 MB, free: 9.324 MB / 302.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 8.967e-05/0.1156, allocations: 121.7 kB / 362.8 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.119e-05/0.1156, allocations: 45.55 kB / 362.8 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.248e-05/0.1157, allocations: 11.81 kB / 362.8 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1157, allocations: 0 / 362.8 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1157, allocations: 4 kB / 362.8 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1157, allocations: 0 / 362.8 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.1159, allocations: 169.6 kB / 363 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1159, allocations: 4.031 kB / 363 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.563e-05/0.1159, allocations: 4 kB / 363 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1159, allocations: 0 / 363 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.116, allocations: 4 kB / 363 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.116, allocations: 3.938 kB / 363 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.116, allocations: 0 / 363 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.1161, allocations: 168.2 kB / 363.2 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.523e-05/0.1162, allocations: 85.02 kB / 363.3 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.1162, allocations: 7.984 kB / 363.3 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.625e-05/0.1163, allocations: 0 / 363.3 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.1163, allocations: 0 / 363.3 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.1163, allocations: 8 kB / 363.3 MB, free: 8.594 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.514e-05/0.1164, allocations: 106.7 kB / 363.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1164, allocations: 0 / 363.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002194/0.1166, allocations: 4 kB / 363.4 MB, free: 8.488 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.0001157/0.1168, allocations: 103.3 kB / 363.5 MB, free: 8.379 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001232/0.1169, allocations: 23.92 kB / 363.5 MB, free: 8.355 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.1169, allocations: 4 kB / 363.5 MB, free: 8.352 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.185e-05/0.1169, allocations: 4 kB / 363.5 MB, free: 8.348 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.1173, allocations: 23.95 kB / 363.5 MB, free: 8.324 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003416/0.1176, allocations: 146.6 kB / 363.7 MB, free: 8.152 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.118, allocations: 0.6846 MB / 364.4 MB, free: 7.441 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.835e-05/0.118, allocations: 4 kB / 364.4 MB, free: 7.438 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.554e-05/0.118, allocations: 11.38 kB / 364.4 MB, free: 7.426 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.118, allocations: 0 / 364.4 MB, free: 7.426 MB / 302.1 MB Notification: Performance of Templates: time 0.002713/0.1208, allocations: 450.6 kB / 364.8 MB, free: 6.992 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches