Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.001631/0.001631, allocations: 115.6 kB / 18.4 MB, free: 4.75 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.001859/0.001859, allocations: 192.3 kB / 21.34 MB, free: 1.816 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.463/1.463, allocations: 222.9 MB / 247 MB, free: 4.188 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.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 47.92 kB / 358.7 MB, free: 8.402 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1081, allocations: 49.44 MB / 408.1 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002895/0.111, allocations: 1.473 MB / 409.6 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004022/0.1114, allocations: 135.5 kB / 409.7 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.484e-05/0.1115, allocations: 7.938 kB / 409.7 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.032e-05/0.1116, allocations: 3.938 kB / 409.7 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.1118, allocations: 7.984 kB / 409.7 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.112, allocations: 43.83 kB / 409.8 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.1122, allocations: 27.86 kB / 409.8 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.1123, allocations: 15.98 kB / 409.8 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.649e-05/0.1124, allocations: 4 kB / 409.8 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.794e-05/0.1124, allocations: 11.88 kB / 409.8 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.1124, allocations: 4 kB / 409.8 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.959e-06/0.1124, allocations: 0 / 409.8 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.34e-05/0.1125, allocations: 11.98 kB / 409.8 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.753e-05/0.1125, allocations: 23.81 kB / 409.9 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.1127, allocations: 47.75 kB / 409.9 MB, free: 5.102 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.1127, allocations: 0 / 409.9 MB, free: 5.102 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1127, allocations: 0 / 409.9 MB, free: 5.102 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1128, allocations: 3.938 kB / 409.9 MB, free: 5.098 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005106/0.1133, allocations: 363.2 kB / 410.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.1133, allocations: 8.031 kB / 410.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.1134, allocations: 8.891 kB / 410.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.1136, allocations: 190.6 kB / 410.5 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.1137, allocations: 4.375 kB / 410.5 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.1137, allocations: 4.375 kB / 410.5 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.1139, allocations: 85.67 kB / 410.6 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.114, allocations: 4.125 kB / 410.6 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.114, allocations: 3.938 kB / 410.6 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.114, allocations: 4 kB / 410.6 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.138e-05/0.1141, allocations: 15.98 kB / 410.6 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004113/0.1145, allocations: 253.8 kB / 410.8 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.1146, allocations: 49.02 kB / 410.9 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.478e-05/0.1147, allocations: 17.84 kB / 410.9 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.1147, allocations: 4 kB / 410.9 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.1147, allocations: 42.5 kB / 410.9 MB, free: 3.871 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.994e-06/0.1147, allocations: 0 / 410.9 MB, free: 3.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002247/0.115, allocations: 57.58 kB / 411 MB, free: 3.809 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/0.1151, allocations: 77.36 kB / 411.1 MB, free: 3.715 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.1152, allocations: 145.8 kB / 411.2 MB, free: 3.562 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.1152, allocations: 25.7 kB / 411.2 MB, free: 3.531 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.906e-05/0.1153, allocations: 80.14 kB / 411.3 MB, free: 3.449 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.121e-05/0.1153, allocations: 3.938 kB / 411.3 MB, free: 3.445 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.1154, allocations: 17.72 kB / 411.3 MB, free: 3.422 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1155, allocations: 310.8 kB / 411.6 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.095e-05/0.1156, allocations: 11.98 kB / 411.7 MB, free: 3.098 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.055e-05/0.1156, allocations: 17.72 kB / 411.7 MB, free: 3.074 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.757e-05/0.1157, allocations: 25.7 kB / 411.7 MB, free: 3.043 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1157, allocations: 0 / 411.7 MB, free: 3.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.495e-05/0.1158, allocations: 49.53 kB / 411.7 MB, free: 2.988 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.1158, allocations: 8 kB / 411.8 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1158, allocations: 128 / 411.8 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1158, allocations: 7.984 kB / 411.8 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.47e-05/0.1158, allocations: 0 / 411.8 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.1159, allocations: 0 / 411.8 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.752e-05/0.1159, allocations: 8 kB / 411.8 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.1159, allocations: 0 / 411.8 MB, free: 2.965 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001041/0.116, allocations: 113.8 kB / 411.9 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.082e-05/0.1161, allocations: 49.58 kB / 411.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.952e-05/0.1161, allocations: 7.531 kB / 411.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1161, allocations: 4.031 kB / 411.9 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1161, allocations: 3.938 kB / 411.9 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1161, allocations: 0 / 411.9 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.1164, allocations: 169.6 kB / 412.1 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1164, allocations: 0 / 412.1 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.165e-06/0.1164, allocations: 4 kB / 412.1 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1164, allocations: 3.984 kB / 412.1 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.1164, allocations: 0 / 412.1 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1164, allocations: 3.984 kB / 412.1 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1164, allocations: 0 / 412.1 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.1166, allocations: 160.2 kB / 412.3 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.247e-05/0.1167, allocations: 93.03 kB / 412.4 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.1167, allocations: 0 / 412.4 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.408e-05/0.1168, allocations: 4 kB / 412.4 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.1168, allocations: 0 / 412.4 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.1168, allocations: 3.984 kB / 412.4 MB, free: 2.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.6e-05/0.1169, allocations: 110.1 kB / 412.5 MB, free: 2.145 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1169, allocations: 0 / 412.5 MB, free: 2.145 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000216/0.1171, allocations: 4 kB / 412.5 MB, free: 2.141 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: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001239/0.1173, allocations: 99.72 kB / 412.6 MB, free: 2.035 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001248/0.1174, allocations: 19.92 kB / 412.6 MB, free: 2.016 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1174, allocations: 0 / 412.6 MB, free: 2.016 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.379e-05/0.1175, allocations: 4 kB / 412.6 MB, free: 2.012 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.1178, allocations: 28.14 kB / 412.6 MB, free: 1.984 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003587/0.1182, allocations: 160.1 kB / 412.8 MB, free: 1.793 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005126/0.1187, allocations: 0.6883 MB / 413.5 MB, free: 1.078 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/0.1187, allocations: 11.44 kB / 413.5 MB, free: 1.066 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1187, allocations: 3.938 kB / 413.5 MB, free: 1.062 MB / 334.1 MB Notification: Performance of Templates: time 0.002344/0.1211, allocations: 0.6231 MB / 414.1 MB, free: 452 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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: 6.663569898926653]