Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001342/0.001342, allocations: 116.9 kB / 18.4 MB, free: 4.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001502/0.001502, allocations: 204.5 kB / 19.35 MB, free: 3.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 59.75 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1173, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003597/0.1209, allocations: 1.511 MB / 360.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004349/0.1214, allocations: 139.5 kB / 360.5 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.1215, allocations: 4 kB / 360.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.449e-05/0.1216, allocations: 3.938 kB / 360.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.1218, allocations: 11.92 kB / 360.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.1221, allocations: 31.84 kB / 360.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.1222, allocations: 31.92 kB / 360.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.1224, allocations: 19.97 kB / 360.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.559e-05/0.1224, allocations: 11.92 kB / 360.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.598e-05/0.1225, allocations: 19.86 kB / 360.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.1225, allocations: 8 kB / 360.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.265e-05/0.1225, allocations: 0 / 360.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.22e-05/0.1226, allocations: 15.92 kB / 360.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.764e-05/0.1227, allocations: 19.88 kB / 360.7 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.1228, allocations: 51.75 kB / 360.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1228, allocations: 0 / 360.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1229, allocations: 0 / 360.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.1229, allocations: 4 kB / 360.8 MB, free: 11.44 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.0005877/0.1235, allocations: 363.2 kB / 361.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.1235, allocations: 12.03 kB / 361.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.012e-05/0.1236, allocations: 12.83 kB / 361.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/0.124, allocations: 196 kB / 361.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.124, allocations: 4.375 kB / 361.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.124, allocations: 384 / 361.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003309/0.1243, allocations: 121.6 kB / 361.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1244, allocations: 192 / 361.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.1244, allocations: 3.938 kB / 361.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1244, allocations: 0 / 361.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.017e-05/0.1245, allocations: 23.92 kB / 361.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.1249, allocations: 261.8 kB / 361.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.1251, allocations: 142.1 kB / 361.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.14e-05/0.1252, allocations: 29.77 kB / 361.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.1252, allocations: 4 kB / 361.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.1253, allocations: 38.56 kB / 362 MB, free: 10.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.103e-06/0.1253, allocations: 3.938 kB / 362 MB, free: 10.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002734/0.1256, allocations: 77.52 kB / 362 MB, free: 9.953 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.488e-05/0.1256, allocations: 81.09 kB / 362.1 MB, free: 9.855 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.1258, allocations: 134.1 kB / 362.3 MB, free: 9.711 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.1258, allocations: 25.7 kB / 362.3 MB, free: 9.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.249e-05/0.1259, allocations: 84.27 kB / 362.4 MB, free: 9.594 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.378e-05/0.1259, allocations: 8 kB / 362.4 MB, free: 9.586 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.534e-05/0.126, allocations: 25.61 kB / 362.4 MB, free: 9.555 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1261, allocations: 314.8 kB / 362.7 MB, free: 9.238 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.346e-05/0.1261, allocations: 8 kB / 362.7 MB, free: 9.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.753e-05/0.1262, allocations: 35.36 kB / 362.7 MB, free: 9.184 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.617e-05/0.1263, allocations: 47.36 kB / 362.8 MB, free: 9.125 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1263, allocations: 4 kB / 362.8 MB, free: 9.121 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001325/0.1264, allocations: 65.55 kB / 362.9 MB, free: 9.051 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.1265, allocations: 4.125 kB / 362.9 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1265, allocations: 8 kB / 362.9 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.1265, allocations: 0 / 362.9 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.794e-05/0.1266, allocations: 8 kB / 362.9 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.1266, allocations: 0 / 362.9 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.104e-05/0.1266, allocations: 11.92 kB / 362.9 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.1267, allocations: 3.984 kB / 362.9 MB, free: 9.016 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 0.0001122/0.1268, allocations: 129.7 kB / 363 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.312e-05/0.1269, allocations: 49.59 kB / 363.1 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.752e-05/0.1269, allocations: 12.58 kB / 363.1 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1269, allocations: 4 kB / 363.1 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1269, allocations: 0 / 363.1 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1269, allocations: 3.984 kB / 363.1 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.1271, allocations: 169.6 kB / 363.3 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.147e-05/0.1272, allocations: 0 / 363.3 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.336e-05/0.1272, allocations: 11.98 kB / 363.3 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.1272, allocations: 4 kB / 363.3 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.1273, allocations: 0 / 363.3 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1273, allocations: 0 / 363.3 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1273, allocations: 0 / 363.3 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.1275, allocations: 180.1 kB / 363.4 MB, free: 8.371 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.636e-05/0.1275, allocations: 93 kB / 363.5 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.1276, allocations: 0 / 363.5 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.171e-05/0.1276, allocations: 4 kB / 363.5 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.1277, allocations: 3.938 kB / 363.5 MB, free: 8.254 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-06/0.1277, allocations: 8 kB / 363.6 MB, free: 8.246 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.918e-05/0.1278, allocations: 110.2 kB / 363.7 MB, free: 8.141 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1278, allocations: 0 / 363.7 MB, free: 8.141 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000237/0.128, allocations: 4 kB / 363.7 MB, free: 8.137 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.0001204/0.1282, allocations: 99.25 kB / 363.8 MB, free: 8.031 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001453/0.1283, allocations: 31.92 kB / 363.8 MB, free: 8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1283, allocations: 256 / 363.8 MB, free: 8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.58e-05/0.1284, allocations: 11.98 kB / 363.8 MB, free: 7.988 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.1287, allocations: 31.89 kB / 363.8 MB, free: 7.957 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003757/0.1291, allocations: 146.3 kB / 364 MB, free: 7.785 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.1294, allocations: 0.6924 MB / 364.7 MB, free: 7.066 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.806e-05/0.1295, allocations: 7.984 kB / 364.7 MB, free: 7.059 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.912e-05/0.1295, allocations: 7.5 kB / 364.7 MB, free: 7.051 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1295, allocations: 4 kB / 364.7 MB, free: 7.047 MB / 302.1 MB Notification: Performance of Templates: time 0.003161/0.1327, allocations: 494.9 kB / 365.2 MB, free: 6.57 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches