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.00119/0.00119, allocations: 123.4 kB / 18.46 MB, free: 4.449 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.00123/0.00123, allocations: 192.3 kB / 21.4 MB, free: 1.52 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.375/1.375, allocations: 225.6 MB / 249.8 MB, free: 3.641 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.001421/0.001421, allocations: 55.91 kB / 366.8 MB, free: 368 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08895/0.09037, allocations: 52.14 MB / 418.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002663/0.09304, allocations: 1.516 MB / 420.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003876/0.09342, allocations: 147.5 kB / 420.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.876e-05/0.09349, allocations: 0 / 420.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.216e-05/0.09353, allocations: 7.938 kB / 420.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.09366, allocations: 15.91 kB / 420.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.09388, allocations: 31.92 kB / 420.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.91e-05/0.09397, allocations: 35.84 kB / 420.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.09408, allocations: 15.98 kB / 420.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.219e-05/0.09411, allocations: 11.94 kB / 420.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.349e-05/0.09416, allocations: 11.92 kB / 420.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.09417, allocations: 4 kB / 420.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.685e-05/0.09419, allocations: 4 kB / 420.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.759e-05/0.09424, allocations: 15.92 kB / 420.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.09427, allocations: 23.81 kB / 420.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.09438, allocations: 51.69 kB / 420.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.09438, allocations: 0 / 420.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.09438, allocations: 0 / 420.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.09439, allocations: 0 / 420.8 MB, free: 10.23 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004852/0.09487, allocations: 375.1 kB / 421.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.0949, allocations: 11.97 kB / 421.2 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.09494, allocations: 8.891 kB / 421.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.09517, allocations: 198.3 kB / 421.4 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.09518, allocations: 4.375 kB / 421.4 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.0952, allocations: 4.375 kB / 421.4 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.09547, allocations: 117.5 kB / 421.5 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.09548, allocations: 192 / 421.5 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.09549, allocations: 7.938 kB / 421.5 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.09549, allocations: 4 kB / 421.5 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.291e-05/0.09557, allocations: 15.98 kB / 421.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003205/0.09589, allocations: 265.7 kB / 421.8 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.0961, allocations: 138.2 kB / 422 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.444e-05/0.09616, allocations: 25.77 kB / 422 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.09618, allocations: 4 kB / 422 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.09621, allocations: 34.5 kB / 422 MB, free: 8.828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 4.108e-06/0.09621, allocations: 3.984 kB / 422 MB, free: 8.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000241/0.09645, allocations: 81.56 kB / 422.1 MB, free: 8.738 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.605e-05/0.09652, allocations: 85.09 kB / 422.2 MB, free: 8.637 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.09664, allocations: 134.1 kB / 422.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.09666, allocations: 25.7 kB / 422.3 MB, free: 8.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.089e-05/0.09671, allocations: 84.14 kB / 422.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.115e-05/0.09672, allocations: 4 kB / 422.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/0.09676, allocations: 25.66 kB / 422.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.09689, allocations: 315 kB / 422.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.121e-05/0.09693, allocations: 11.98 kB / 422.8 MB, free: 8.012 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.874e-05/0.09698, allocations: 27.44 kB / 422.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.342e-05/0.09706, allocations: 47.36 kB / 422.8 MB, free: 7.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.09706, allocations: 4 kB / 422.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001263/0.09719, allocations: 69.55 kB / 422.9 MB, free: 7.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.0972, allocations: 7.938 kB / 422.9 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.09721, allocations: 11.92 kB / 422.9 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.09722, allocations: 0 / 422.9 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.36e-05/0.09728, allocations: 8.125 kB / 422.9 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.09729, allocations: 7.984 kB / 423 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.203e-05/0.09732, allocations: 4 kB / 423 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.09733, allocations: 0 / 423 MB, free: 7.797 MB / 350.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 9.547e-05/0.09742, allocations: 125.8 kB / 423.1 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.724e-05/0.0975, allocations: 53.58 kB / 423.1 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.754e-05/0.09753, allocations: 8.25 kB / 423.1 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.09753, allocations: 4 kB / 423.1 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.09753, allocations: 0 / 423.1 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.09754, allocations: 4 kB / 423.1 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.09771, allocations: 169.6 kB / 423.3 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.09771, allocations: 0 / 423.3 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.873e-05/0.09776, allocations: 11.98 kB / 423.3 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.09776, allocations: 0 / 423.3 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.09777, allocations: 7.938 kB / 423.3 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.09777, allocations: 0 / 423.3 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.09777, allocations: 0 / 423.3 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.09795, allocations: 172.3 kB / 423.5 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.955e-05/0.09802, allocations: 96.98 kB / 423.6 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.09803, allocations: 0 / 423.6 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.898e-05/0.09809, allocations: 4 kB / 423.6 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.774e-05/0.09812, allocations: 0 / 423.6 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.09812, allocations: 0 / 423.6 MB, free: 7.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.749e-05/0.0982, allocations: 114 kB / 423.7 MB, free: 6.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.0982, allocations: 0 / 423.7 MB, free: 6.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002176/0.09842, allocations: 8 kB / 423.7 MB, free: 6.926 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: 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 9.582e-05/0.09851, allocations: 99.19 kB / 423.8 MB, free: 6.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001436/0.09866, allocations: 35.91 kB / 423.9 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.09866, allocations: 0 / 423.9 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.454e-05/0.09869, allocations: 8 kB / 423.9 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.09899, allocations: 26.53 kB / 423.9 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003108/0.0993, allocations: 180.3 kB / 424.1 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.09961, allocations: 0.6922 MB / 424.8 MB, free: 5.824 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.82e-05/0.09964, allocations: 11.44 kB / 424.8 MB, free: 5.812 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.09964, allocations: 3.938 kB / 424.8 MB, free: 5.809 MB / 350.1 MB Notification: Performance of Templates: time 0.002071/0.1017, allocations: 0.6878 MB / 425.5 MB, free: 5.117 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: 6.168370741885155]