Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001174/0.001174, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001138/0.001138, allocations: 205.8 kB / 18.79 MB, free: 4.727 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 / 246.9 MB, free: 10.69 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.69 kB / 306.9 MB, free: 1.027 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1171, allocations: 50.53 MB / 357.4 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003928/0.1211, allocations: 1.685 MB / 359.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.1225, allocations: 0.5688 MB / 359.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.1226, allocations: 7.938 kB / 359.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.69e-05/0.1228, allocations: 11.92 kB / 359.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000165/0.123, allocations: 7.938 kB / 359.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004069/0.1234, allocations: 51.89 kB / 359.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.1235, allocations: 63.72 kB / 359.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.1236, allocations: 20.2 kB / 359.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.1238, allocations: 27.92 kB / 359.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.368e-05/0.1239, allocations: 31.84 kB / 359.9 MB, free: 12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.1239, allocations: 4 kB / 359.9 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.815e-05/0.124, allocations: 8 kB / 359.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.494e-05/0.124, allocations: 11.92 kB / 359.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.491e-05/0.1241, allocations: 35.73 kB / 360 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.1243, allocations: 47.86 kB / 360 MB, free: 11.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1243, allocations: 3.938 kB / 360 MB, free: 11.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1243, allocations: 0 / 360 MB, free: 11.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.1243, allocations: 4 kB / 360 MB, free: 11.89 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.000574/0.1249, allocations: 391.4 kB / 360.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.1249, allocations: 11.97 kB / 360.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.1251, allocations: 24.75 kB / 360.4 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.1254, allocations: 215.5 kB / 360.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.1254, allocations: 4.375 kB / 360.7 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.1254, allocations: 4.375 kB / 360.7 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000361/0.1258, allocations: 147 kB / 360.8 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1258, allocations: 0 / 360.8 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.1258, allocations: 4 kB / 360.8 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.1258, allocations: 4 kB / 360.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.1259, allocations: 23.92 kB / 360.8 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003788/0.1263, allocations: 291.4 kB / 361.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.1265, allocations: 102.4 kB / 361.2 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.617e-05/0.1266, allocations: 39.42 kB / 361.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.1266, allocations: 0 / 361.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/0.1267, allocations: 38.56 kB / 361.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1267, allocations: 4 kB / 361.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003191/0.127, allocations: 101.4 kB / 361.4 MB, free: 10.28 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.157e-05/0.1271, allocations: 136.5 kB / 361.5 MB, free: 10.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.1272, allocations: 146.2 kB / 361.7 MB, free: 9.965 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.1273, allocations: 30.2 kB / 361.7 MB, free: 9.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.033e-05/0.1273, allocations: 96.12 kB / 361.8 MB, free: 9.832 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.1274, allocations: 8 kB / 361.8 MB, free: 9.824 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.534e-05/0.1274, allocations: 21.62 kB / 361.8 MB, free: 9.797 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1276, allocations: 322.8 kB / 362.1 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.979e-05/0.1276, allocations: 11.98 kB / 362.2 MB, free: 9.461 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.773e-05/0.1277, allocations: 49.16 kB / 362.2 MB, free: 9.395 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.1278, allocations: 61.08 kB / 362.3 MB, free: 9.316 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1278, allocations: 4 kB / 362.3 MB, free: 9.312 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001619/0.128, allocations: 81.55 kB / 362.3 MB, free: 9.227 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.128, allocations: 7.984 kB / 362.4 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.128, allocations: 4 kB / 362.4 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1281, allocations: 3.938 kB / 362.4 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.985e-05/0.1282, allocations: 12 kB / 362.4 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1282, allocations: 0 / 362.4 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.441e-05/0.1282, allocations: 16.08 kB / 362.4 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.1283, allocations: 4 kB / 362.4 MB, free: 9.18 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: 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.582e-05/0.1284, allocations: 137.5 kB / 362.5 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.1285, allocations: 65.53 kB / 362.6 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.921e-05/0.1285, allocations: 19.81 kB / 362.6 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.1285, allocations: 4 kB / 362.6 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.1285, allocations: 0 / 362.6 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1286, allocations: 0 / 362.6 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.1288, allocations: 185.7 kB / 362.8 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1288, allocations: 3.938 kB / 362.8 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.305e-05/0.1289, allocations: 12 kB / 362.8 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1289, allocations: 0 / 362.8 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.1289, allocations: 128 / 362.8 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-06/0.1289, allocations: 11.98 kB / 362.8 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1289, allocations: 0 / 362.8 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.1291, allocations: 201.9 kB / 363 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.603e-05/0.1292, allocations: 96.91 kB / 363.1 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.1292, allocations: 4 kB / 363.1 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.402e-05/0.1293, allocations: 0 / 363.1 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.1293, allocations: 4 kB / 363.1 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.1293, allocations: 11.98 kB / 363.1 MB, free: 8.324 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.003e-05/0.1294, allocations: 118.5 kB / 363.2 MB, free: 8.211 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1294, allocations: 0 / 363.2 MB, free: 8.211 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000261/0.1297, allocations: 8 kB / 363.3 MB, free: 8.203 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.0001198/0.1298, allocations: 99.25 kB / 363.4 MB, free: 8.098 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001622/0.13, allocations: 39.92 kB / 363.4 MB, free: 8.059 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.13, allocations: 0 / 363.4 MB, free: 8.059 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.04e-05/0.1301, allocations: 16.3 kB / 363.4 MB, free: 8.043 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004439/0.1305, allocations: 39.97 kB / 363.4 MB, free: 8.004 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004566/0.131, allocations: 265.3 kB / 363.7 MB, free: 7.699 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.1313, allocations: 0.7004 MB / 364.4 MB, free: 6.973 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.1313, allocations: 11.44 kB / 364.4 MB, free: 6.965 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1313, allocations: 0 / 364.4 MB, free: 6.965 MB / 302.1 MB Notification: Performance of Templates: time 0.002856/0.1342, allocations: 1.032 MB / 365.5 MB, free: 5.945 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches