Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.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.RealSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001522/0.001522, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001466/0.001466, allocations: 207.9 kB / 19.25 MB, free: 3.898 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.528/1.528, allocations: 227.7 MB / 247.7 MB, free: 10.32 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.002043/0.002044, allocations: 68.73 kB / 307.9 MB, free: 500 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1194, allocations: 50.54 MB / 358.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003161/0.1226, allocations: 1.618 MB / 360.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.1237, allocations: 0.5686 MB / 360.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.173e-05/0.1238, allocations: 0 / 360.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.886e-05/0.1239, allocations: 15.86 kB / 360.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.1241, allocations: 3.938 kB / 360.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.1244, allocations: 75.73 kB / 360.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.1245, allocations: 47.86 kB / 360.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.1246, allocations: 23.97 kB / 360.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.1248, allocations: 35.78 kB / 360.8 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.291e-05/0.1248, allocations: 27.86 kB / 360.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.1249, allocations: 4 kB / 360.9 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.195e-05/0.1249, allocations: 8 kB / 360.9 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.918e-05/0.125, allocations: 15.92 kB / 360.9 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.956e-05/0.125, allocations: 31.75 kB / 360.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.1252, allocations: 59.8 kB / 361 MB, free: 11.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.1252, allocations: 3.984 kB / 361 MB, free: 11.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1252, allocations: 7.938 kB / 361 MB, free: 11.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1252, allocations: 0 / 361 MB, free: 11.38 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005302/0.1257, allocations: 383.3 kB / 361.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.1258, allocations: 8.031 kB / 361.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.1259, allocations: 24.83 kB / 361.4 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.1262, allocations: 207.6 kB / 361.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.1262, allocations: 384 / 361.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.1262, allocations: 8.125 kB / 361.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/0.1265, allocations: 134.6 kB / 361.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.1266, allocations: 0 / 361.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.1266, allocations: 8 kB / 361.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1266, allocations: 0 / 361.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.569e-05/0.1267, allocations: 27.92 kB / 361.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003798/0.1271, allocations: 295.4 kB / 362 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.1272, allocations: 90.42 kB / 362.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.299e-05/0.1273, allocations: 47.42 kB / 362.2 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.1274, allocations: 4 kB / 362.2 MB, free: 9.949 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.1274, allocations: 38.5 kB / 362.2 MB, free: 9.902 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.1274, allocations: 0 / 362.2 MB, free: 9.902 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003057/0.1277, allocations: 101.7 kB / 362.3 MB, free: 9.797 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.859e-05/0.1278, allocations: 140.5 kB / 362.5 MB, free: 9.629 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.128, allocations: 146.4 kB / 362.6 MB, free: 9.469 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.128, allocations: 25.7 kB / 362.6 MB, free: 9.438 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.131e-05/0.1281, allocations: 96.08 kB / 362.7 MB, free: 9.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.1281, allocations: 7.891 kB / 362.7 MB, free: 9.332 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.665e-05/0.1281, allocations: 30.02 kB / 362.8 MB, free: 9.297 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1283, allocations: 314.8 kB / 363.1 MB, free: 8.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.512e-05/0.1283, allocations: 15.98 kB / 363.1 MB, free: 8.965 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.536e-05/0.1284, allocations: 40.28 kB / 363.1 MB, free: 8.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.1285, allocations: 64.22 kB / 363.2 MB, free: 8.832 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1286, allocations: 0 / 363.2 MB, free: 8.832 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001694/0.1287, allocations: 81.45 kB / 363.3 MB, free: 8.746 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.1288, allocations: 12.16 kB / 363.3 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1288, allocations: 0 / 363.3 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1288, allocations: 4 kB / 363.3 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.512e-05/0.1289, allocations: 11.98 kB / 363.3 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.1289, allocations: 3.938 kB / 363.3 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.711e-05/0.129, allocations: 7.938 kB / 363.3 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.129, allocations: 4.125 kB / 363.3 MB, free: 8.703 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 9.079e-05/0.1291, allocations: 121.8 kB / 363.4 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.968e-05/0.1292, allocations: 65.55 kB / 363.5 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.055e-05/0.1292, allocations: 23.81 kB / 363.5 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1292, allocations: 0 / 363.5 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1292, allocations: 0 / 363.5 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.1293, allocations: 11.92 kB / 363.5 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.1295, allocations: 177.5 kB / 363.7 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1295, allocations: 0 / 363.7 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.483e-05/0.1296, allocations: 19.98 kB / 363.7 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1296, allocations: 0 / 363.7 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.1296, allocations: 4 kB / 363.7 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1296, allocations: 4 kB / 363.7 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1296, allocations: 4 kB / 363.7 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.1298, allocations: 197.9 kB / 363.9 MB, free: 7.992 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.53e-05/0.1299, allocations: 93 kB / 364 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.13, allocations: 8 kB / 364 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.536e-05/0.13, allocations: 4 kB / 364 MB, free: 7.871 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.1301, allocations: 7.922 kB / 364 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.1301, allocations: 4 kB / 364 MB, free: 7.859 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.724e-05/0.1302, allocations: 112.6 kB / 364.1 MB, free: 7.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1302, allocations: 0 / 364.1 MB, free: 7.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002443/0.1304, allocations: 8 kB / 364.2 MB, free: 7.742 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001149/0.1306, allocations: 95.25 kB / 364.2 MB, free: 7.641 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001805/0.1307, allocations: 55.84 kB / 364.3 MB, free: 7.586 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1308, allocations: 3.938 kB / 364.3 MB, free: 7.582 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.699e-05/0.1308, allocations: 8 kB / 364.3 MB, free: 7.574 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000456/0.1313, allocations: 30.52 kB / 364.3 MB, free: 7.547 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004416/0.1317, allocations: 239.8 kB / 364.6 MB, free: 7.273 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.1321, allocations: 0.6924 MB / 365.3 MB, free: 6.555 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.641e-05/0.1321, allocations: 19.42 kB / 365.3 MB, free: 6.535 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1321, allocations: 0 / 365.3 MB, free: 6.535 MB / 302.1 MB Notification: Performance of Templates: time 0.002685/0.1348, allocations: 0.9439 MB / 366.2 MB, free: 5.598 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches