Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001578/0.001578, allocations: 123.4 kB / 18.46 MB, free: 4.598 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.001802/0.001802, allocations: 192.3 kB / 21.4 MB, free: 1.668 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.378/1.378, allocations: 225.6 MB / 249.8 MB, free: 3.512 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 51.92 kB / 366.8 MB, free: 440 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1111, allocations: 52.14 MB / 418.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.003013/0.1141, allocations: 1.501 MB / 420.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003918/0.1145, allocations: 139.5 kB / 420.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.962e-05/0.1146, allocations: 0 / 420.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.852e-05/0.1146, allocations: 7.922 kB / 420.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000127/0.1147, allocations: 11.88 kB / 420.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.115, allocations: 39.84 kB / 420.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.6e-05/0.1151, allocations: 27.92 kB / 420.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.1152, allocations: 15.97 kB / 420.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.35e-05/0.1152, allocations: 7.938 kB / 420.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.911e-05/0.1153, allocations: 19.91 kB / 420.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.1153, allocations: 0 / 420.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.185e-05/0.1153, allocations: 4 kB / 420.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.962e-05/0.1153, allocations: 11.94 kB / 420.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.1154, allocations: 19.86 kB / 420.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.1155, allocations: 43.7 kB / 420.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1155, allocations: 0 / 420.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1155, allocations: 4 kB / 420.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.1155, allocations: 3.938 kB / 420.8 MB, free: 10.34 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005356/0.116, allocations: 363.2 kB / 421.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.1161, allocations: 8.031 kB / 421.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.1161, allocations: 8.891 kB / 421.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.1164, allocations: 198.3 kB / 421.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1164, allocations: 384 / 421.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.1164, allocations: 8.375 kB / 421.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.1166, allocations: 89.61 kB / 421.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1167, allocations: 192 / 421.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.1167, allocations: 3.938 kB / 421.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.1167, allocations: 0 / 421.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.347e-05/0.1167, allocations: 19.92 kB / 421.5 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003324/0.1171, allocations: 253.8 kB / 421.7 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.269e-05/0.1172, allocations: 49.14 kB / 421.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.64e-05/0.1172, allocations: 17.72 kB / 421.8 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.1172, allocations: 4 kB / 421.8 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.1173, allocations: 38.55 kB / 421.8 MB, free: 9.105 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1173, allocations: 0 / 421.8 MB, free: 9.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002341/0.1175, allocations: 61.58 kB / 421.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/0.1176, allocations: 81.11 kB / 422 MB, free: 8.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.1177, allocations: 138.3 kB / 422.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.1177, allocations: 25.7 kB / 422.1 MB, free: 8.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.777e-05/0.1178, allocations: 88.14 kB / 422.2 MB, free: 8.672 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.117e-06/0.1178, allocations: 3.953 kB / 422.2 MB, free: 8.668 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.1178, allocations: 17.66 kB / 422.2 MB, free: 8.645 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.118, allocations: 318.8 kB / 422.6 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.57e-05/0.118, allocations: 4 kB / 422.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.407e-05/0.1181, allocations: 29.64 kB / 422.6 MB, free: 8.285 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.705e-05/0.1181, allocations: 25.66 kB / 422.6 MB, free: 8.254 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1181, allocations: 0 / 422.6 MB, free: 8.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000115/0.1183, allocations: 61.55 kB / 422.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.1183, allocations: 6.188 kB / 422.7 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1183, allocations: 128 / 422.7 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1183, allocations: 8 kB / 422.7 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.819e-05/0.1184, allocations: 4 kB / 422.7 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1184, allocations: 0 / 422.7 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.529e-05/0.1184, allocations: 0 / 422.7 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.1184, allocations: 4 kB / 422.7 MB, free: 8.168 MB / 350.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 (step.y,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.0001111/0.1185, allocations: 125.7 kB / 422.8 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.205e-05/0.1186, allocations: 37.66 kB / 422.9 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.917e-05/0.1186, allocations: 15.8 kB / 422.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.1186, allocations: 4.031 kB / 422.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.1186, allocations: 4 kB / 422.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1186, allocations: 0 / 422.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.1188, allocations: 161.6 kB / 423 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.1188, allocations: 0 / 423 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.862e-05/0.1188, allocations: 7.984 kB / 423 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1188, allocations: 0 / 423 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.1188, allocations: 4 kB / 423 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.1188, allocations: 4 kB / 423 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1188, allocations: 0 / 423 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.119, allocations: 160.3 kB / 423.2 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.407e-05/0.1191, allocations: 89.05 kB / 423.3 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.1191, allocations: 7.984 kB / 423.3 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.774e-05/0.1192, allocations: 3.984 kB / 423.3 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.1192, allocations: 7.938 kB / 423.3 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.1192, allocations: 4 kB / 423.3 MB, free: 7.438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.282e-05/0.1193, allocations: 102 kB / 423.4 MB, free: 7.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1193, allocations: 0 / 423.4 MB, free: 7.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002137/0.1195, allocations: 4 kB / 423.4 MB, free: 7.336 MB / 350.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 (step.y,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.0001195/0.1196, allocations: 111.6 kB / 423.5 MB, free: 7.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000122/0.1198, allocations: 19.98 kB / 423.5 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1198, allocations: 0 / 423.5 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.978e-05/0.1198, allocations: 16.06 kB / 423.6 MB, free: 7.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.1201, allocations: 15.95 kB / 423.6 MB, free: 7.168 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.1204, allocations: 160.1 kB / 423.7 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.1207, allocations: 0.6961 MB / 424.4 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.268e-05/0.1208, allocations: 7.438 kB / 424.4 MB, free: 6.246 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1208, allocations: 0 / 424.4 MB, free: 6.246 MB / 350.1 MB Notification: Performance of Templates: time 0.002144/0.1229, allocations: 0.6429 MB / 425.1 MB, free: 5.605 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.220359074883163]