Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001793/0.001793, allocations: 77.7 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00229/0.00229, allocations: 161.3 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 177.1 MB / 204.7 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] 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.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 57.03 kB / 325.5 MB, free: 172 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1059, allocations: 53.39 MB / 378.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003274/0.1091, allocations: 1.75 MB / 380.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.1103, allocations: 0.5687 MB / 381.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.95e-05/0.1104, allocations: 7.938 kB / 381.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.688e-05/0.1105, allocations: 11.86 kB / 381.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001485/0.1106, allocations: 15.81 kB / 381.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004942/0.1111, allocations: 107.6 kB / 381.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.1113, allocations: 95.75 kB / 381.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.1114, allocations: 21.56 kB / 381.5 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.1116, allocations: 59.72 kB / 381.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.856e-05/0.1116, allocations: 39.77 kB / 381.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.1117, allocations: 8 kB / 381.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.897e-05/0.1117, allocations: 12 kB / 381.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.519e-05/0.1118, allocations: 19.92 kB / 381.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.085e-05/0.1119, allocations: 43.72 kB / 381.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.1121, allocations: 111.5 kB / 381.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1121, allocations: 0 / 381.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1121, allocations: 3.938 kB / 381.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1121, allocations: 0 / 381.8 MB, free: 12.56 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006167/0.1127, allocations: 357.7 kB / 382.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.1128, allocations: 15.98 kB / 382.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.1129, allocations: 24.83 kB / 382.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.1132, allocations: 166.2 kB / 382.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.1133, allocations: 8.375 kB / 382.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.1133, allocations: 12.38 kB / 382.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005492/0.1138, allocations: 272.5 kB / 382.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1138, allocations: 0 / 382.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.1139, allocations: 7.938 kB / 382.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.1139, allocations: 7.984 kB / 382.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.114, allocations: 51.97 kB / 382.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003387/0.1143, allocations: 242.2 kB / 382.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.1146, allocations: 127.8 kB / 383.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.1147, allocations: 66.66 kB / 383.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.1147, allocations: 4 kB / 383.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.1148, allocations: 34.5 kB / 383.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.242e-06/0.1148, allocations: 4 kB / 383.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.000421/0.1152, allocations: 173.6 kB / 383.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.1153, allocations: 122.7 kB / 383.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.1155, allocations: 154.2 kB / 383.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.1155, allocations: 25.7 kB / 383.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.803e-05/0.1155, allocations: 92.14 kB / 383.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.1156, allocations: 19.89 kB / 383.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/0.1156, allocations: 37.7 kB / 383.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1158, allocations: 326.8 kB / 384.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.932e-05/0.1158, allocations: 32.42 kB / 384.1 MB, free: 10 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.116, allocations: 134.5 kB / 384.3 MB, free: 9.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002264/0.1162, allocations: 166.4 kB / 384.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.1162, allocations: 4 kB / 384.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003041/0.1165, allocations: 185.1 kB / 384.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.1165, allocations: 8 kB / 384.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.1165, allocations: 4 kB / 384.6 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.1166, allocations: 4.531 kB / 384.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.1167, allocations: 35.91 kB / 384.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.1167, allocations: 8 kB / 384.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.1168, allocations: 19.89 kB / 384.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.1169, allocations: 11.94 kB / 384.7 MB, free: 9.324 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 8 ($CLKPRE.upSample2.b_super,upSample2.b_super,$CLKPRE.upSample1.b_super,upSample1.b_super,$CLKPRE.upSample2.b,upSample2.b,$CLKPRE.upSample1.b,upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.000122/0.117, allocations: 137.8 kB / 384.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001935/0.1172, allocations: 105.6 kB / 384.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.934e-05/0.1172, allocations: 24.77 kB / 385 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1172, allocations: 7.938 kB / 385 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1172, allocations: 0 / 385 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.1172, allocations: 7.938 kB / 385 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.1174, allocations: 137.1 kB / 385.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1174, allocations: 0 / 385.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.1175, allocations: 23.98 kB / 385.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.1176, allocations: 4 kB / 385.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.1176, allocations: 7.984 kB / 385.1 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1176, allocations: 0 / 385.1 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1176, allocations: 4 kB / 385.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003328/0.1179, allocations: 259.7 kB / 385.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/0.118, allocations: 23.89 kB / 385.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.118, allocations: 11.98 kB / 385.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.313e-05/0.1181, allocations: 8 kB / 385.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.503e-05/0.1181, allocations: 0 / 385.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.1181, allocations: 8 kB / 385.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.547e-05/0.1182, allocations: 116.1 kB / 385.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1182, allocations: 0 / 385.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002819/0.1185, allocations: 24 kB / 385.6 MB, free: 8.363 MB / 350.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: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001124/0.1186, allocations: 111 kB / 385.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000264/0.1189, allocations: 108 kB / 385.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1189, allocations: 4 kB / 385.8 MB, free: 8.137 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.505e-05/0.1189, allocations: 4.094 kB / 385.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.1193, allocations: 90.83 kB / 385.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004774/0.1198, allocations: 271 kB / 386.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.1199, allocations: 106.3 kB / 386.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.503e-05/0.12, allocations: 13.48 kB / 386.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.066e-05/0.12, allocations: 20.5 kB / 386.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.12, allocations: 0 / 386.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of Templates: time 0.004292/0.1243, allocations: 1.323 MB / 387.6 MB, free: 6.301 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.469418721972033]