Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 74.59 kB / 20.49 MB, free: 1.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 143.8 kB / 23.72 MB, free: 4.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 173.4 MB / 200.3 MB, free: 12.99 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Clocked.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 50.83 kB / 318.7 MB, free: 3.625 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1104, allocations: 52.17 MB / 370.8 MB, free: 7.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003055/0.1134, allocations: 1.619 MB / 372.4 MB, free: 6.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.1145, allocations: 0.4909 MB / 372.9 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.504e-05/0.1146, allocations: 7.938 kB / 372.9 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002414/0.1148, allocations: 15.86 kB / 373 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.187e-05/0.1149, allocations: 19.86 kB / 373 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002988/0.1152, allocations: 59.81 kB / 373 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.1153, allocations: 67.77 kB / 373.1 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1154, allocations: 15.98 kB / 373.1 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.1156, allocations: 43.89 kB / 373.2 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.1157, allocations: 27.8 kB / 373.2 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.1157, allocations: 4 kB / 373.2 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.515e-05/0.1157, allocations: 4 kB / 373.2 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.72e-05/0.1158, allocations: 23.91 kB / 373.2 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.796e-05/0.1158, allocations: 23.86 kB / 373.2 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.116, allocations: 83.53 kB / 373.3 MB, free: 5.141 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.116, allocations: 0 / 373.3 MB, free: 5.141 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.116, allocations: 0 / 373.3 MB, free: 5.141 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.116, allocations: 0 / 373.3 MB, free: 5.141 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006073/0.1166, allocations: 313.8 kB / 373.6 MB, free: 4.805 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.1167, allocations: 12.03 kB / 373.6 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/0.1167, allocations: 8.891 kB / 373.6 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002987/0.117, allocations: 142.9 kB / 373.8 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.117, allocations: 4.375 kB / 373.8 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.1171, allocations: 16.12 kB / 373.8 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003931/0.1175, allocations: 149.7 kB / 374 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1175, allocations: 0 / 374 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.1175, allocations: 4 kB / 374 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.1175, allocations: 4 kB / 374 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.1176, allocations: 31.86 kB / 374 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.118, allocations: 226.2 kB / 374.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.1181, allocations: 83.72 kB / 374.3 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.908e-05/0.1182, allocations: 38.75 kB / 374.3 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.1183, allocations: 7.984 kB / 374.3 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.1183, allocations: 46.48 kB / 374.4 MB, free: 3.918 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.1183, allocations: 0 / 374.4 MB, free: 3.918 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003413/0.1186, allocations: 109.5 kB / 374.5 MB, free: 3.805 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.498e-05/0.1187, allocations: 107.1 kB / 374.6 MB, free: 3.676 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.1189, allocations: 152.8 kB / 374.7 MB, free: 3.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.1189, allocations: 33.69 kB / 374.8 MB, free: 3.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.307e-05/0.119, allocations: 84.14 kB / 374.9 MB, free: 3.395 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.119, allocations: 15.89 kB / 374.9 MB, free: 3.379 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/0.119, allocations: 21.7 kB / 374.9 MB, free: 3.352 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1192, allocations: 322.8 kB / 375.2 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.341e-05/0.1193, allocations: 19.98 kB / 375.2 MB, free: 3.008 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.226e-05/0.1193, allocations: 58 kB / 375.3 MB, free: 2.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.1195, allocations: 89.86 kB / 375.4 MB, free: 2.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.1195, allocations: 4 kB / 375.4 MB, free: 2.816 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002141/0.1197, allocations: 101.7 kB / 375.5 MB, free: 2.711 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1197, allocations: 10.66 kB / 375.5 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1197, allocations: 4 kB / 375.5 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.1197, allocations: 3.984 kB / 375.5 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.826e-05/0.1198, allocations: 12 kB / 375.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.1199, allocations: 7.938 kB / 375.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.403e-05/0.1199, allocations: 11.94 kB / 375.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.1199, allocations: 4 kB / 375.5 MB, free: 2.66 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.fractionalDelay.first,fractionalDelay.first) * Number of discrete states: 0 () * Number of clocked states: 2 (fractionalDelay.first,fractionalDelay.u_buffer[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.000119/0.1201, allocations: 133.7 kB / 375.7 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.1202, allocations: 69.58 kB / 375.7 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.783e-05/0.1202, allocations: 20.48 kB / 375.8 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.1202, allocations: 0 / 375.8 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1203, allocations: 0 / 375.8 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1203, allocations: 3.938 kB / 375.8 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.1204, allocations: 125.2 kB / 375.9 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1204, allocations: 0 / 375.9 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.892e-05/0.1205, allocations: 12 kB / 375.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1205, allocations: 192 / 375.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.1205, allocations: 4 kB / 375.9 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.1205, allocations: 8.234 kB / 375.9 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.1205, allocations: 0 / 375.9 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.1208, allocations: 205.1 kB / 376.1 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.874e-05/0.1209, allocations: 19.94 kB / 376.1 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.1209, allocations: 4 kB / 376.1 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.772e-05/0.121, allocations: 4 kB / 376.1 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.121, allocations: 7.984 kB / 376.1 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.121, allocations: 0 / 376.1 MB, free: 1.984 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.1211, allocations: 111.2 kB / 376.2 MB, free: 1.875 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1211, allocations: 0 / 376.2 MB, free: 1.875 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000262/0.1214, allocations: 15.95 kB / 376.3 MB, free: 1.859 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (fractionalDelay.first) * Number of discrete states: 0 () * Number of clocked states: 2 (fractionalDelay.u_buffer[1],fractionalDelay.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001468/0.1215, allocations: 103.2 kB / 376.4 MB, free: 1.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002006/0.1217, allocations: 59.83 kB / 376.4 MB, free: 1.691 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1217, allocations: 0 / 376.4 MB, free: 1.691 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.205e-05/0.1218, allocations: 12 kB / 376.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.1222, allocations: 39.94 kB / 376.5 MB, free: 1.641 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005798/0.1228, allocations: 213.4 kB / 376.7 MB, free: 1.398 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.1229, allocations: 91.31 kB / 376.8 MB, free: 1.289 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.096e-05/0.1229, allocations: 4.734 kB / 376.8 MB, free: 1.281 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.544e-05/0.123, allocations: 16.48 kB / 376.8 MB, free: 1.266 MB / 334.1 MB Notification: Performance of SimCode: time 4.1e-07/0.123, allocations: 0 / 376.8 MB, free: 1.266 MB / 334.1 MB Notification: Performance of Templates: time 0.003885/0.1268, allocations: 0.9146 MB / 377.7 MB, free: 376 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.486246757209301]