Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.001753/0.001753, allocations: 119.4 kB / 18.41 MB, free: 4.648 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.002123/0.002123, allocations: 196.3 kB / 21.35 MB, free: 1.711 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.606/1.606, allocations: 222.9 MB / 247 MB, free: 4.191 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.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 47.92 kB / 358.7 MB, free: 8.309 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.107, allocations: 49.44 MB / 408.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002936/0.1099, allocations: 1.504 MB / 409.6 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004155/0.1104, allocations: 135.5 kB / 409.7 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.625e-05/0.1105, allocations: 3.938 kB / 409.7 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.706e-05/0.1105, allocations: 7.922 kB / 409.7 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.1107, allocations: 15.94 kB / 409.8 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.1109, allocations: 35.89 kB / 409.8 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.111, allocations: 31.86 kB / 409.8 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.1111, allocations: 16 kB / 409.8 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.604e-05/0.1112, allocations: 15.92 kB / 409.9 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.651e-05/0.1112, allocations: 11.94 kB / 409.9 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.1113, allocations: 4 kB / 409.9 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.111e-05/0.1113, allocations: 0 / 409.9 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.638e-05/0.1113, allocations: 15.92 kB / 409.9 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.809e-05/0.1114, allocations: 27.81 kB / 409.9 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.1115, allocations: 43.75 kB / 410 MB, free: 4.953 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1115, allocations: 0 / 410 MB, free: 4.953 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.546e-06/0.1115, allocations: 7.984 kB / 410 MB, free: 4.945 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.1116, allocations: 0 / 410 MB, free: 4.945 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005253/0.1121, allocations: 375.1 kB / 410.3 MB, free: 4.527 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.1121, allocations: 8.031 kB / 410.3 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.1122, allocations: 12.89 kB / 410.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.1124, allocations: 192.2 kB / 410.5 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.1125, allocations: 12.36 kB / 410.5 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.1125, allocations: 8.375 kB / 410.6 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003032/0.1128, allocations: 113.6 kB / 410.7 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1128, allocations: 12.06 kB / 410.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.1128, allocations: 3.938 kB / 410.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.1129, allocations: 3.938 kB / 410.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.768e-05/0.1129, allocations: 19.98 kB / 410.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.1133, allocations: 253.8 kB / 411 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.1136, allocations: 150.2 kB / 411.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.028e-05/0.1136, allocations: 25.78 kB / 411.1 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.1137, allocations: 3.984 kB / 411.1 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.1137, allocations: 30.56 kB / 411.2 MB, free: 3.535 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 2.986e-06/0.1137, allocations: 0 / 411.2 MB, free: 3.535 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002578/0.114, allocations: 81.56 kB / 411.2 MB, free: 3.449 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.153e-05/0.1141, allocations: 85.05 kB / 411.3 MB, free: 3.348 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.1142, allocations: 136.2 kB / 411.5 MB, free: 3.203 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.1142, allocations: 25.7 kB / 411.5 MB, free: 3.172 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.915e-05/0.1143, allocations: 88.12 kB / 411.6 MB, free: 3.082 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.151e-05/0.1143, allocations: 4 kB / 411.6 MB, free: 3.078 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.1144, allocations: 21.67 kB / 411.6 MB, free: 3.051 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.1145, allocations: 315 kB / 411.9 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.714e-05/0.1146, allocations: 15.98 kB / 411.9 MB, free: 2.719 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.803e-05/0.1146, allocations: 27.42 kB / 411.9 MB, free: 2.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.205e-05/0.1147, allocations: 51.36 kB / 412 MB, free: 2.617 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1147, allocations: 0 / 412 MB, free: 2.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001318/0.1149, allocations: 65.56 kB / 412.1 MB, free: 2.547 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.1149, allocations: 8 kB / 412.1 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1149, allocations: 0 / 412.1 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1149, allocations: 0 / 412.1 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.245e-05/0.115, allocations: 20.05 kB / 412.1 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.115, allocations: 0 / 412.1 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.348e-05/0.115, allocations: 4 kB / 412.1 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.115, allocations: 0 / 412.1 MB, free: 2.516 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001068/0.1152, allocations: 125.8 kB / 412.2 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.459e-05/0.1152, allocations: 45.66 kB / 412.3 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.649e-05/0.1153, allocations: 12.23 kB / 412.3 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.1153, allocations: 4.328 kB / 412.3 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1153, allocations: 3.938 kB / 412.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.1153, allocations: 4 kB / 412.3 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.1155, allocations: 177.5 kB / 412.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1155, allocations: 4 kB / 412.5 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.867e-05/0.1156, allocations: 7.938 kB / 412.5 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1156, allocations: 4 kB / 412.5 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.1156, allocations: 0 / 412.5 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1156, allocations: 0 / 412.5 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.1156, allocations: 4 kB / 412.5 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.1158, allocations: 172.3 kB / 412.6 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.093e-05/0.1159, allocations: 96.98 kB / 412.7 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.1159, allocations: 0 / 412.7 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.094e-05/0.116, allocations: 7.984 kB / 412.7 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/0.116, allocations: 0 / 412.7 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.116, allocations: 0 / 412.7 MB, free: 1.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.128e-05/0.1161, allocations: 104.8 kB / 412.8 MB, free: 1.648 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1161, allocations: 3.938 kB / 412.8 MB, free: 1.645 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002201/0.1164, allocations: 8 kB / 412.9 MB, free: 1.637 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001219/0.1165, allocations: 103.2 kB / 413 MB, free: 1.527 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000145/0.1166, allocations: 31.92 kB / 413 MB, free: 1.496 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1167, allocations: 0 / 413 MB, free: 1.496 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.742e-05/0.1167, allocations: 8 kB / 413 MB, free: 1.488 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.117, allocations: 24.27 kB / 413 MB, free: 1.465 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003465/0.1174, allocations: 176.1 kB / 413.2 MB, free: 1.258 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.1178, allocations: 0.6922 MB / 413.9 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.838e-05/0.1178, allocations: 11.44 kB / 413.9 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1178, allocations: 0 / 413.9 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of Templates: time 0.002367/0.1202, allocations: 0.7001 MB / 414.6 MB, free: 15.82 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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: 7.081867270055227]