Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001802/0.001802, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002123/0.002123, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.416/1.416, allocations: 227.7 MB / 247.7 MB, free: 10.43 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 64.69 kB / 307.9 MB, free: 0.5352 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09864/0.1005, allocations: 50.54 MB / 358.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003666/0.1042, allocations: 1.912 MB / 360.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002243/0.1065, allocations: 1.304 MB / 361.6 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.1066, allocations: 7.938 kB / 361.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003021/0.1069, allocations: 71.66 kB / 361.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003424/0.1073, allocations: 127.4 kB / 361.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006221/0.1079, allocations: 234.5 kB / 362.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002519/0.1082, allocations: 183.5 kB / 362.3 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.1083, allocations: 41.5 kB / 362.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.1085, allocations: 71.72 kB / 362.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.1086, allocations: 91.53 kB / 362.5 MB, free: 9.934 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.1086, allocations: 12 kB / 362.5 MB, free: 9.922 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.1088, allocations: 63.97 kB / 362.5 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.641e-05/0.1089, allocations: 47.84 kB / 362.6 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.577e-05/0.109, allocations: 83.41 kB / 362.7 MB, free: 9.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003421/0.1093, allocations: 247.4 kB / 362.9 MB, free: 9.488 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1094, allocations: 0 / 362.9 MB, free: 9.488 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1094, allocations: 0 / 362.9 MB, free: 9.488 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1094, allocations: 0 / 362.9 MB, free: 9.488 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007891/0.1102, allocations: 0.5467 MB / 363.4 MB, free: 8.887 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.1102, allocations: 12.03 kB / 363.5 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.353e-05/0.1103, allocations: 24.66 kB / 363.5 MB, free: 8.852 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000384/0.1107, allocations: 291.5 kB / 363.8 MB, free: 8.527 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.1107, allocations: 4.375 kB / 363.8 MB, free: 8.523 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.1107, allocations: 12.12 kB / 363.8 MB, free: 8.512 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003887/0.1111, allocations: 172.4 kB / 363.9 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1111, allocations: 4 kB / 364 MB, free: 8.309 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.1112, allocations: 4 kB / 364 MB, free: 8.305 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.1112, allocations: 0 / 364 MB, free: 8.305 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.1113, allocations: 39.86 kB / 364 MB, free: 8.266 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005991/0.1119, allocations: 482.5 kB / 364.5 MB, free: 7.734 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/0.1122, allocations: 142.5 kB / 364.6 MB, free: 7.559 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.1123, allocations: 55.42 kB / 364.7 MB, free: 7.492 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.1124, allocations: 11.92 kB / 364.7 MB, free: 7.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002388/0.1126, allocations: 93.09 kB / 364.8 MB, free: 7.371 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.1126, allocations: 0 / 364.8 MB, free: 7.371 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004264/0.113, allocations: 169.2 kB / 364.9 MB, free: 7.199 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.1132, allocations: 192.3 kB / 365.1 MB, free: 6.969 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003703/0.1136, allocations: 342.9 kB / 365.5 MB, free: 6.621 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.1136, allocations: 29.64 kB / 365.5 MB, free: 6.586 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.1137, allocations: 136.3 kB / 365.6 MB, free: 6.445 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.1138, allocations: 19.75 kB / 365.6 MB, free: 6.426 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.982e-05/0.1138, allocations: 33.7 kB / 365.7 MB, free: 6.387 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.114, allocations: 334.8 kB / 366 MB, free: 6.051 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.481e-05/0.1141, allocations: 27.98 kB / 366 MB, free: 6.023 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.1142, allocations: 95.72 kB / 366.1 MB, free: 5.902 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.1144, allocations: 101.3 kB / 366.2 MB, free: 5.785 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1144, allocations: 0 / 366.2 MB, free: 5.785 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002631/0.1147, allocations: 137.3 kB / 366.3 MB, free: 5.645 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.1147, allocations: 8 kB / 366.4 MB, free: 5.637 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1148, allocations: 0 / 366.4 MB, free: 5.637 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.1148, allocations: 4 kB / 366.4 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.1149, allocations: 23.92 kB / 366.4 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.1149, allocations: 8.156 kB / 366.4 MB, free: 5.602 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.002e-05/0.115, allocations: 15.83 kB / 366.4 MB, free: 5.586 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.115, allocations: 4 kB / 366.4 MB, free: 5.582 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,hold1.y,hold1.u,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001478/0.1152, allocations: 157.8 kB / 366.6 MB, free: 5.418 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.1153, allocations: 73.41 kB / 366.6 MB, free: 5.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.928e-05/0.1154, allocations: 33.67 kB / 366.7 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.1154, allocations: 4.031 kB / 366.7 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1154, allocations: 8.062 kB / 366.7 MB, free: 5.289 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1154, allocations: 3.938 kB / 366.7 MB, free: 5.285 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.1156, allocations: 249.5 kB / 366.9 MB, free: 4.992 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1157, allocations: 0 / 366.9 MB, free: 4.992 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.946e-05/0.1157, allocations: 19.92 kB / 366.9 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.1157, allocations: 0 / 366.9 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.1158, allocations: 8 kB / 367 MB, free: 4.965 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1158, allocations: 0 / 367 MB, free: 4.965 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1158, allocations: 4 kB / 367 MB, free: 4.961 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.1161, allocations: 183.3 kB / 367.1 MB, free: 4.754 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.1162, allocations: 116.9 kB / 367.3 MB, free: 4.621 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/0.1162, allocations: 8 kB / 367.3 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.988e-05/0.1163, allocations: 7.984 kB / 367.3 MB, free: 4.605 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.1164, allocations: 15.88 kB / 367.3 MB, free: 4.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.1164, allocations: 7.984 kB / 367.3 MB, free: 4.582 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002556/0.1167, allocations: 253.9 kB / 367.5 MB, free: 4.336 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1167, allocations: 0 / 367.5 MB, free: 4.336 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.1169, allocations: 35.98 kB / 367.6 MB, free: 4.301 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001468/0.1184, allocations: 423 kB / 368 MB, free: 4.039 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002572/0.1187, allocations: 88.09 kB / 368.1 MB, free: 3.953 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1187, allocations: 4.062 kB / 368.1 MB, free: 3.949 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.751e-05/0.1188, allocations: 31.92 kB / 368.1 MB, free: 3.918 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.1192, allocations: 71.95 kB / 368.2 MB, free: 3.848 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000708/0.1199, allocations: 424.8 kB / 368.6 MB, free: 3.395 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.1204, allocations: 0.7476 MB / 369.3 MB, free: 2.621 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.972e-05/0.1204, allocations: 19.44 kB / 369.4 MB, free: 2.605 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1204, allocations: 0 / 369.4 MB, free: 2.605 MB / 302.1 MB Notification: Performance of Templates: time 0.1472/0.2677, allocations: 3.054 MB / 372.4 MB, free: 19.57 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches