Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001942/0.001942, allocations: 106.5 kB / 16.45 MB, free: 6.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0018/0.0018, allocations: 186.4 kB / 17.38 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205.1 MB / 223.3 MB, free: 12.19 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08859/0.08859, allocations: 12.59 MB / 283.2 MB, free: 15.39 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 86.97 kB / 394.2 MB, free: 45.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1189, allocations: 49.4 MB / 443.6 MB, free: 480 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.Hold): time 0.00276/0.1217, allocations: 1.591 MB / 445.2 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009496/0.1226, allocations: 0.5424 MB / 445.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.1228, allocations: 3.938 kB / 445.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.909e-05/0.1229, allocations: 3.938 kB / 445.7 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001509/0.123, allocations: 15.86 kB / 445.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.1233, allocations: 55.81 kB / 445.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.1234, allocations: 47.86 kB / 445.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.1236, allocations: 27.97 kB / 445.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.494e-05/0.1237, allocations: 27.84 kB / 445.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.792e-05/0.1237, allocations: 23.86 kB / 445.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.1238, allocations: 4 kB / 445.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.84e-05/0.1238, allocations: 4 kB / 445.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.022e-05/0.1239, allocations: 15.92 kB / 445.9 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.991e-05/0.1239, allocations: 27.75 kB / 446 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.1241, allocations: 67.61 kB / 446 MB, free: 14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1241, allocations: 4 kB / 446 MB, free: 14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1241, allocations: 0 / 446 MB, free: 14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.1241, allocations: 4 kB / 446 MB, free: 13.99 MB / 334.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.0005261/0.1247, allocations: 391 kB / 446.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.1247, allocations: 8.031 kB / 446.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.491e-05/0.1248, allocations: 16.83 kB / 446.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.125, allocations: 200.8 kB / 446.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.1251, allocations: 12.31 kB / 446.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.1251, allocations: 8.125 kB / 446.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003469/0.1254, allocations: 130.7 kB / 446.8 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1255, allocations: 3.984 kB / 446.8 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.1255, allocations: 4 kB / 446.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1255, allocations: 4 kB / 446.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.441e-05/0.1256, allocations: 27.92 kB / 446.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/0.126, allocations: 291.4 kB / 447.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.1262, allocations: 102.4 kB / 447.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.566e-05/0.1263, allocations: 43.55 kB / 447.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.1263, allocations: 4 kB / 447.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.1263, allocations: 42.5 kB / 447.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1263, allocations: 0 / 447.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003012/0.1266, allocations: 93.56 kB / 447.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.402e-05/0.1267, allocations: 140.9 kB / 447.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.1269, allocations: 149.7 kB / 447.7 MB, free: 12.08 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.1269, allocations: 25.7 kB / 447.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.851e-05/0.127, allocations: 96.06 kB / 447.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.127, allocations: 7.953 kB / 447.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.127, allocations: 25.67 kB / 447.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1272, allocations: 318.8 kB / 448.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.924e-05/0.1272, allocations: 15.98 kB / 448.1 MB, free: 11.58 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.552e-05/0.1273, allocations: 36.3 kB / 448.2 MB, free: 11.53 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.1274, allocations: 68.2 kB / 448.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1274, allocations: 0 / 448.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001486/0.1276, allocations: 81.52 kB / 448.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1276, allocations: 7.984 kB / 448.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1276, allocations: 0 / 448.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.1276, allocations: 4 kB / 448.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.585e-05/0.1277, allocations: 12.16 kB / 448.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.1277, allocations: 4 kB / 448.4 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.683e-05/0.1278, allocations: 11.92 kB / 448.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.1278, allocations: 7.938 kB / 448.4 MB, free: 11.31 MB / 334.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 8.663e-05/0.1279, allocations: 117.8 kB / 448.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.453e-05/0.128, allocations: 53.64 kB / 448.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.666e-05/0.128, allocations: 19.81 kB / 448.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.128, allocations: 64 / 448.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.128, allocations: 4 kB / 448.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.1281, allocations: 11.92 kB / 448.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.1282, allocations: 173.6 kB / 448.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1283, allocations: 0 / 448.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.595e-05/0.1283, allocations: 19.92 kB / 448.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1283, allocations: 0 / 448.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.1284, allocations: 4 kB / 448.8 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1284, allocations: 0 / 448.8 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1284, allocations: 0 / 448.8 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.1286, allocations: 202.1 kB / 449 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.851e-05/0.1287, allocations: 109 kB / 449.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.1287, allocations: 4 kB / 449.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.572e-05/0.1288, allocations: 4 kB / 449.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.1288, allocations: 7.938 kB / 449.1 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.1288, allocations: 7.938 kB / 449.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.238e-05/0.1289, allocations: 115.9 kB / 449.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1289, allocations: 0 / 449.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.1291, allocations: 8 kB / 449.2 MB, free: 10.36 MB / 334.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 9.216e-05/0.1292, allocations: 91.25 kB / 449.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001715/0.1294, allocations: 52.09 kB / 449.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1294, allocations: 4.062 kB / 449.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.115e-05/0.1295, allocations: 15.98 kB / 449.4 MB, free: 10.19 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.1299, allocations: 32.02 kB / 449.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003745/0.1302, allocations: 193.8 kB / 449.6 MB, free: 9.934 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.1305, allocations: 0.6966 MB / 450.3 MB, free: 9.211 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.696e-05/0.1306, allocations: 7.984 kB / 450.3 MB, free: 9.203 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.984e-05/0.1306, allocations: 11.44 kB / 450.3 MB, free: 9.191 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1306, allocations: 0 / 450.3 MB, free: 9.191 MB / 334.1 MB Notification: Performance of Templates: time 0.003005/0.1336, allocations: 0.7184 MB / 451 MB, free: 8.473 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches